Class: Hyalite::EventDispatcher::TopLevelCallbackBookKeeping

Inherits:
Object
  • Object
show all
Defined in:
lib/hyalite/event_dispatcher.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ancestorsObject (readonly)

Returns the value of attribute ancestors.



90
91
92
# File 'lib/hyalite/event_dispatcher.rb', line 90

def ancestors
  @ancestors
end

#eventObject (readonly)

Returns the value of attribute event.



90
91
92
# File 'lib/hyalite/event_dispatcher.rb', line 90

def event
  @event
end

#top_level_typeObject (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