Class: PrettierPrint::Trim
- Inherits:
-
Object
- Object
- PrettierPrint::Trim
- Defined in:
- lib/prettier_print.rb
Overview
A node in the print tree that represents trimming all of the indentation of the current line, in the rare case that you need to ignore the indentation that you’ve already created. This node should be placed after a Breakable.
Instance Method Summary collapse
Instance Method Details
#pretty_print(q) ⇒ Object
263 264 265 |
# File 'lib/prettier_print.rb', line 263 def pretty_print(q) q.text("trim") end |