Class: Toga::Commands::Remove
- Inherits:
-
Toga::Command
- Object
- Toga::Command
- Toga::Commands::Remove
- Defined in:
- lib/toga/commands/remove.rb
Direct Known Subclasses
Class Method Summary collapse
Methods included from Error
Class Method Details
.run!(*args) ⇒ Object
5 6 7 8 9 |
# File 'lib/toga/commands/remove.rb', line 5 def self.run!(*args) removed = Togafile.remove_from_group :current, args.join(' ') puts removed ? "Removed '#{removed}'.\r\n\r\n" : "" Togafile.lines_in_group(:current) end |