Class: Cheffish::ChefRunListener
- Inherits:
-
Chef::EventDispatch::Base
- Object
- Chef::EventDispatch::Base
- Cheffish::ChefRunListener
- Defined in:
- lib/cheffish/chef_run_listener.rb
Instance Attribute Summary collapse
-
#node ⇒ Object
readonly
Returns the value of attribute node.
Instance Method Summary collapse
-
#initialize(node) ⇒ ChefRunListener
constructor
A new instance of ChefRunListener.
- #run_complete(node) ⇒ Object
- #run_failed(exception) ⇒ Object
Constructor Details
#initialize(node) ⇒ ChefRunListener
Returns a new instance of ChefRunListener.
5 6 7 |
# File 'lib/cheffish/chef_run_listener.rb', line 5 def initialize(node) @node = node end |
Instance Attribute Details
#node ⇒ Object (readonly)
Returns the value of attribute node.
9 10 11 |
# File 'lib/cheffish/chef_run_listener.rb', line 9 def node @node end |
Instance Method Details
#run_complete(node) ⇒ Object
11 12 13 |
# File 'lib/cheffish/chef_run_listener.rb', line 11 def run_complete(node) disconnect end |
#run_failed(exception) ⇒ Object
15 16 17 |
# File 'lib/cheffish/chef_run_listener.rb', line 15 def run_failed(exception) disconnect end |