Method: Enroute::Export#write_template

Defined in:
lib/enroute/export.rb

#write_template(output_path) ⇒ Object



36
37
38
39
40
# File 'lib/enroute/export.rb', line 36

def write_template(output_path)
  File.open(output_path, "w+") do |file|
    file << render_template
  end
end