Class: PostRunner::Main
- Inherits:
-
Object
- Object
- PostRunner::Main
- Defined in:
- lib/postrunner/Main.rb
Instance Method Summary collapse
-
#initialize(args) ⇒ Main
constructor
A new instance of Main.
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((args)) end |