Module: EvilEvents::Core::Events::EventExtensions::Observable Private
- Included in:
- AbstractEvent
- Defined in:
- lib/evil_events/core/events/event_extensions/observable.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
- .included(base_class) ⇒ Object private
Instance Method Summary collapse
- #observers ⇒ Array<EvilEvents::Core::Events::Subscriber> (also: #subscribers) private
Class Method Details
.included(base_class) ⇒ 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.
11 12 13 |
# File 'lib/evil_events/core/events/event_extensions/observable.rb', line 11 def included(base_class) base_class.extend(ClassMethods) end |
Instance Method Details
#observers ⇒ Array<EvilEvents::Core::Events::Subscriber> Also known as: subscribers
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.
19 20 21 |
# File 'lib/evil_events/core/events/event_extensions/observable.rb', line 19 def observers self.class.observers end |