Class: Toga::Commands::Complete
- Inherits:
-
Toga::Command
- Object
- Toga::Command
- Toga::Commands::Complete
- Defined in:
- lib/toga/commands/complete.rb
Class Method Summary collapse
Methods included from Error
Class Method Details
.run!(*args) ⇒ Object
5 6 7 8 |
# File 'lib/toga/commands/complete.rb', line 5 def self.run!(*args) prefix = args.join(' ').strip Togafile.move prefix, {:current => :completed}, {prepend: true} end |