Class: Toga::Commands::Add

Inherits:
Toga::Command show all
Defined in:
lib/toga/commands/add.rb

Class Method Summary collapse

Methods included from Error

included

Class Method Details

.run!(*args) ⇒ Object



5
6
7
8
# File 'lib/toga/commands/add.rb', line 5

def self.run!(*args)
  Togafile.append_to_group :current, args.join(' ')
  puts Togafile.lines_in_group :current
end