Class: TimeCop::Runner

Inherits:
Object
  • Object
show all
Defined in:
lib/time_cop/runner.rb

Class Method Summary collapse

Class Method Details

.invokeObject



5
6
7
8
9
10
11
# File 'lib/time_cop/runner.rb', line 5

def self.invoke
  options_parser = OptionParser.new(ARGV)
  options = options_parser.parse

  accountability = Accountability.new(username: options[:username], password: options[:password], email: options[:email])
  accountability.print_report
end