Class: AllGreen::CommandLine

Inherits:
Object
  • Object
show all
Defined in:
lib/all_green/command_line.rb

Instance Method Summary collapse

Constructor Details

#initialize(args = ARGV) ⇒ CommandLine

Returns a new instance of CommandLine.



5
6
7
# File 'lib/all_green/command_line.rb', line 5

def initialize(args = ARGV)
  @args = args
end

Instance Method Details

#runObject



9
10
11
# File 'lib/all_green/command_line.rb', line 9

def run
  AllGreen::Runner.new.run
end