Class: Low::Events::BranchEvent
- Inherits:
-
HiddenEvent
- Object
- HiddenEvent
- Low::Events::BranchEvent
- Defined in:
- lib/pool/branch_event.rb
Instance Attribute Summary collapse
-
#event ⇒ Object
readonly
Returns the value of attribute event.
-
#event_tree ⇒ Object
readonly
Returns the value of attribute event_tree.
Attributes inherited from HiddenEvent
Instance Method Summary collapse
-
#initialize(event_tree:, event:) ⇒ BranchEvent
constructor
A new instance of BranchEvent.
Methods inherited from HiddenEvent
Constructor Details
#initialize(event_tree:, event:) ⇒ BranchEvent
Returns a new instance of BranchEvent.
10 11 12 13 14 15 |
# File 'lib/pool/branch_event.rb', line 10 def initialize(event_tree:, event:) super(key: BranchEvent, action: :branch) @event_tree = event_tree @event = event end |
Instance Attribute Details
#event ⇒ Object (readonly)
Returns the value of attribute event.
8 9 10 |
# File 'lib/pool/branch_event.rb', line 8 def event @event end |
#event_tree ⇒ Object (readonly)
Returns the value of attribute event_tree.
8 9 10 |
# File 'lib/pool/branch_event.rb', line 8 def event_tree @event_tree end |