Method: Ever2boost::CsonGenerator.build
- Defined in:
- lib/ever2boost/cson_generator.rb
.build(folder_hash, note) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/ever2boost/cson_generator.rb', line 6 def build(folder_hash, note) cson = "type: \"MARKDOWN_NOTE\"\nfolder: \"\#{folder_hash}\"\ntitle: \"\#{note.title}\"\ncontent: '''\n # \#{note.title}\n \#{note.md_content}\n'''\ntags: []\nisStarred: false\ncreatedAt: \"\#{timestamp}\"\nupdatedAt: \"\#{timestamp}\"\n EOS\nend\n" |