Class: Documentize::Printer
- Inherits:
-
Object
- Object
- Documentize::Printer
- Defined in:
- lib/documentize/printer.rb
Class Method Summary collapse
Class Method Details
.print_with_docs(tree, header) ⇒ Object
3 4 5 6 7 8 |
# File 'lib/documentize/printer.rb', line 3 def self.print_with_docs(tree, header) puts header tree.each do |branch| puts Builder.build_code(branch) end end |