Method: RBI::RBSPrinter#printt
- Defined in:
- lib/rbi/rbs_printer.rb
#printt(string = nil) ⇒ Object
Print a string with indentation but without a ‘n` at the end. : (?String? string) -> void
68 69 70 71 |
# File 'lib/rbi/rbs_printer.rb', line 68 def printt(string = nil) print(" " * @current_indent) print(string) if string end |