Class: Rubdo::Editor
- Inherits:
-
Object
- Object
- Rubdo::Editor
- Defined in:
- lib/rubdo/editor.rb
Class Method Summary collapse
Class Method Details
.add(file) ⇒ Object
10 11 12 13 |
# File 'lib/rubdo/editor.rb', line 10 def self.add(file) open_with_editor(file) read_description(file) end |
.edit(file, description) ⇒ Object
4 5 6 7 8 |
# File 'lib/rubdo/editor.rb', line 4 def self.edit(file, description) write_description(file, description) open_with_editor(file) read_description(file) end |