Method: RTFDoc::Generator#run
- Defined in:
- lib/rtfdoc.rb
#run ⇒ Object
467 468 469 470 471 472 473 474 |
# File 'lib/rtfdoc.rb', line 467 def run @tree = build_content_tree nodes = build_nodes(config['resources']) out = File.new("#{Dir.tmpdir}/rtfdoc_output.html", 'w') out.write(Template.new(nodes, config).output) out.close end |