Class: Toga::Commands::Later
- Inherits:
-
Toga::Command
- Object
- Toga::Command
- Toga::Commands::Later
- Defined in:
- lib/toga/commands/later.rb
Class Method Summary collapse
Methods included from Error
Class Method Details
.run!(*args) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/toga/commands/later.rb', line 5 def self.run!(*args) if args.first && args.first.count == 0 puts Commands::List.run! [:later] end Togafile.append_to_group :later, args.join(' ') Togafile.lines_in_group :later end |