Class: EvilEvents::Core::Broadcasting::Dispatcher Private
- Inherits:
-
Object
- Object
- EvilEvents::Core::Broadcasting::Dispatcher
- Defined in:
- lib/evil_events/core/broadcasting/dispatcher.rb,
lib/evil_events/core/broadcasting/dispatcher/mixin.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Constant Summary collapse
- Mixin =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
EvilEvents::Shared::ClonableModuleBuilder.build do def dispatch(event) Dispatcher.dispatch(event) end end
Class Method Summary collapse
-
.dispatch(event) ⇒ Object
private
Void.
Class Method Details
.dispatch(event) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns void.
12 13 14 |
# File 'lib/evil_events/core/broadcasting/dispatcher.rb', line 12 def dispatch(event) # Broadcast EvilEvents::Core::Bootstrap[:event_system].manager_of_event(event).notify(event) end |