Class: PostRunner::Main

Inherits:
Object
  • Object
show all
Defined in:
lib/postrunner/Main.rb

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ Main

Returns a new instance of Main.



13
14
15
16
17
18
19
# File 'lib/postrunner/Main.rb', line 13

def initialize(args)
  @filter = nil
  @name = nil
  @activities = ActivitiesDB.new(File.join(ENV['HOME'], '.postrunner'))

  execute_command(parse_options(args))
end