Module: EventDispatcher::Event
- Defined in:
- lib/event_dispatcher/event.rb
Instance Attribute Summary collapse
-
#stop_propagation ⇒ Object
Returns the value of attribute stop_propagation.
Instance Method Summary collapse
-
#initialize ⇒ Object
A listener can prevent any other listeners from being called.
Instance Attribute Details
#stop_propagation ⇒ Object
Returns the value of attribute stop_propagation.
3 4 5 |
# File 'lib/event_dispatcher/event.rb', line 3 def stop_propagation @stop_propagation end |
Instance Method Details
#initialize ⇒ Object
A listener can prevent any other listeners from being called.
5 6 7 |
# File 'lib/event_dispatcher/event.rb', line 5 def initialize @stop_propagation = false end |