Module: CSL::PrettyPrinter
- Included in:
- Node
- Defined in:
- lib/csl/pretty_printer.rb
Instance Method Summary collapse
Instance Method Details
#pretty_print ⇒ Object
12 13 14 |
# File 'lib/csl/pretty_printer.rb', line 12 def pretty_print preamble << .map { |t| pp t }.join("\n") end |
#tags ⇒ Object
4 5 6 |
# File 'lib/csl/pretty_printer.rb', line 4 def raise 'not implemened by base class' end |
#to_xml ⇒ Object
8 9 10 |
# File 'lib/csl/pretty_printer.rb', line 8 def to_xml .flatten.join end |