Class: Documentize::Printer

Inherits:
Object
  • Object
show all
Defined in:
lib/documentize/printer.rb

Class Method Summary collapse

Class Method Details



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