Method: Cnvrg::Images#set_note_url
- Defined in:
- lib/cnvrg/Images.rb
#set_note_url(note_slug) ⇒ Object
409 410 411 412 413 |
# File 'lib/cnvrg/Images.rb', line 409 def set_note_url(note_slug) config = YAML.load_file(@working_dir+"/.cnvrg/config.yml") config[:notebook_slug] = note_slug File.open(@working_dir+"/.cnvrg/config.yml", "w+") { |f| f.write config.to_yaml } end |