Method: Wing::Generator#gen_html

Defined in:
lib/wing.rb

#gen_htmlObject



77
78
79
80
81
# File 'lib/wing.rb', line 77

def gen_html
  # Write html to file
  @html_path = File.expand_path(File.join("build", "page.html"))
  File.open(@html_path, "w") {|f| f.write html }
end