Class: Workerholic::CLI
- Inherits:
-
Object
- Object
- Workerholic::CLI
- Includes:
- Singleton
- Defined in:
- lib/workerholic/cli.rb
Instance Attribute Summary collapse
-
#logger ⇒ Object
readonly
Returns the value of attribute logger.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize ⇒ CLI
constructor
A new instance of CLI.
- #run ⇒ Object
Constructor Details
#initialize ⇒ CLI
Returns a new instance of CLI.
13 14 15 |
# File 'lib/workerholic/cli.rb', line 13 def initialize @logger = LogManager.new end |
Instance Attribute Details
#logger ⇒ Object (readonly)
Returns the value of attribute logger.
11 12 13 |
# File 'lib/workerholic/cli.rb', line 11 def logger @logger end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
11 12 13 |
# File 'lib/workerholic/cli.rb', line 11 def @options end |