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.
19 20 21 22 23 24 25 26 27 28 |
# File 'lib/postrunner/Main.rb', line 19 def initialize(args) @filter = nil @name = nil @activities = nil @db_dir = File.join(ENV['HOME'], '.postrunner') return if (args = (args)).nil? execute_command(args) end |