Class: Hyalite::EventDispatcher::TopLevelCallbackBookKeeping
- Defined in:
- lib/hyalite/event_dispatcher.rb
Instance Attribute Summary collapse
-
#ancestors ⇒ Object
readonly
Returns the value of attribute ancestors.
-
#event ⇒ Object
readonly
Returns the value of attribute event.
-
#top_level_type ⇒ Object
readonly
Returns the value of attribute top_level_type.
Instance Method Summary collapse
-
#initialize(top_level_type, event) ⇒ TopLevelCallbackBookKeeping
constructor
A new instance of TopLevelCallbackBookKeeping.
Constructor Details
#initialize(top_level_type, event) ⇒ TopLevelCallbackBookKeeping
Returns a new instance of TopLevelCallbackBookKeeping.
92 93 94 95 96 |
# File 'lib/hyalite/event_dispatcher.rb', line 92 def initialize(top_level_type, event) @top_level_type = top_level_type @event = event @ancestors = [] end |
Instance Attribute Details
#ancestors ⇒ Object (readonly)
Returns the value of attribute ancestors.
90 91 92 |
# File 'lib/hyalite/event_dispatcher.rb', line 90 def ancestors @ancestors end |
#event ⇒ Object (readonly)
Returns the value of attribute event.
90 91 92 |
# File 'lib/hyalite/event_dispatcher.rb', line 90 def event @event end |
#top_level_type ⇒ Object (readonly)
Returns the value of attribute top_level_type.
90 91 92 |
# File 'lib/hyalite/event_dispatcher.rb', line 90 def top_level_type @top_level_type end |