Method: Cnvrg::Images#remove_note_slug
- Defined in:
- lib/cnvrg/Images.rb
#remove_note_slug ⇒ Object
423 424 425 426 427 428 |
# File 'lib/cnvrg/Images.rb', line 423 def remove_note_slug config = YAML.load_file(@working_dir+"/.cnvrg/config.yml") config[:notebook_slug] = "" File.open(@working_dir+"/.cnvrg/config.yml", "w+") { |f| f.write config.to_yaml } end |