Class: Arborist::Event::NodeDisabled
- Inherits:
-
Node
- Object
- Arborist::Event
- Node
- Arborist::Event::NodeDisabled
- Defined in:
- lib/arborist/event/node_disabled.rb
Overview
An event generated when a node is manually disabled
Instance Attribute Summary
Attributes inherited from Node
Attributes inherited from Arborist::Event
Instance Method Summary collapse
-
#initialize(node) ⇒ NodeDisabled
constructor
Create a new NodeDisabled event for the specified
node
.
Methods inherited from Node
#inspect_details, #match, #payload, #to_h
Methods inherited from Arborist::Event
#informational?, #inspect, #inspect_details, #match, #to_h, #type
Constructor Details
#initialize(node) ⇒ NodeDisabled
Create a new NodeDisabled event for the specified node
.
12 13 14 |
# File 'lib/arborist/event/node_disabled.rb', line 12 def initialize( node ) super( node, node.ack.to_h ) end |