Class: Builder::XmlBase
- Inherits:
-
Object
- Object
- Builder::XmlBase
- Defined in:
- lib/breadmachine.rb
Instance Method Summary collapse
-
#<<(text) ⇒ Object
Make generated xml easier to read by indenting appended xml strings out to the current indent level.
Instance Method Details
#<<(text) ⇒ Object
Make generated xml easier to read by indenting appended xml strings out to the current indent level.
24 25 26 |
# File 'lib/breadmachine.rb', line 24 def <<(text) _text(text.indent(@level * @indent)) end |