Method: Ever2boost::CsonGenerator.output
- Defined in:
- lib/ever2boost/cson_generator.rb
.output(folder_hash, note, output_dir) ⇒ Object
26 27 28 29 30 31 |
# File 'lib/ever2boost/cson_generator.rb', line 26 def output(folder_hash, note, output_dir) Util.make_notes_dir(output_dir) File.open("#{output_dir}/notes/#{note.file_name}.cson", 'w') do |f| f.write(build(folder_hash, note)) end end |