Class: Figaro::CLI::Task
- Inherits:
-
Object
- Object
- Figaro::CLI::Task
- Defined in:
- lib/figaro/cli/task.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Task
constructor
A new instance of Task.
Constructor Details
#initialize(options = {}) ⇒ Task
Returns a new instance of Task.
12 13 14 |
# File 'lib/figaro/cli/task.rb', line 12 def initialize( = {}) @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
6 7 8 |
# File 'lib/figaro/cli/task.rb', line 6 def @options end |
Class Method Details
.run(options = {}) ⇒ Object
8 9 10 |
# File 'lib/figaro/cli/task.rb', line 8 def self.run( = {}) new().run end |