Class: MilkTea::PrettyPrinter::BaseFormatter
- Inherits:
-
Object
- Object
- MilkTea::PrettyPrinter::BaseFormatter
- Defined in:
- lib/milk_tea/core/pretty_printer/base_formatter.rb
Direct Known Subclasses
Constant Summary collapse
- INDENT =
" "
Instance Method Summary collapse
-
#initialize ⇒ BaseFormatter
constructor
A new instance of BaseFormatter.
Constructor Details
#initialize ⇒ BaseFormatter
Returns a new instance of BaseFormatter.
8 9 10 11 |
# File 'lib/milk_tea/core/pretty_printer/base_formatter.rb', line 8 def initialize @lines = [] @indent = 0 end |