Class: KRL_CMD::Note
- Inherits:
-
Object
- Object
- KRL_CMD::Note
- Defined in:
- lib/note.rb
Class Method Summary collapse
Class Method Details
.go(args) ⇒ Object
3 4 5 6 7 8 9 10 11 |
# File 'lib/note.rb', line 3 def self.go(args) raise "Please supply a version and a note. (note must be enclosed in quotes)" unless args.length == 2 version = args.first.to_i note = args.last.to_s require LIB_DIR + 'common' app = KRL_COMMON::get_app app.set_version_note(version, note) puts "Done." end |