Method: WRI::Server#to_html
- Defined in:
- lib/wri/server.rb
#to_html ⇒ Object
79 80 81 82 83 84 |
# File 'lib/wri/server.rb', line 79 def to_html filetext = File.read(File.join(File.dirname(__FILE__), 'template.rhtml')) template = ERB.new(filetext) template.result(binding) #heirarchy.to_html end |