Class: Stove::Runner
Instance Attribute Summary collapse
-
#cookbook ⇒ Object
readonly
Returns the value of attribute cookbook.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(cookbook, options = {}) ⇒ Runner
constructor
A new instance of Runner.
- #run ⇒ Object
Constructor Details
#initialize(cookbook, options = {}) ⇒ Runner
Returns a new instance of Runner.
8 9 10 11 |
# File 'lib/stove/runner.rb', line 8 def initialize(cookbook, = {}) @cookbook = cookbook @options = end |
Instance Attribute Details
#cookbook ⇒ Object (readonly)
Returns the value of attribute cookbook.
5 6 7 |
# File 'lib/stove/runner.rb', line 5 def cookbook @cookbook end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
6 7 8 |
# File 'lib/stove/runner.rb', line 6 def @options end |
Instance Method Details
#run ⇒ Object
13 14 15 16 |
# File 'lib/stove/runner.rb', line 13 def run run_plugin :git run_plugin :community end |