Module: EvilEvents::Core::Events::EventExtensions::AdapterCustomizable::ClassMethods Private
- Defined in:
- lib/evil_events/core/events/event_extensions/adapter_customizable.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.
Instance Method Summary collapse
- #adapter(identifier = nil) ⇒ EvilEvents::Core::Broadcasting::Dispatcher::Dispatchable private
- #adapter_name ⇒ Symbol, String private
Instance Method Details
#adapter(identifier = nil) ⇒ EvilEvents::Core::Broadcasting::Dispatcher::Dispatchable
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.
36 37 38 39 |
# File 'lib/evil_events/core/events/event_extensions/adapter_customizable.rb', line 36 def adapter(identifier = nil) @adapter_identifier = identifier if identifier EvilEvents::Core::Bootstrap[:event_system].resolve_adapter(adapter_name) end |
#adapter_name ⇒ Symbol, String
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.
44 45 46 |
# File 'lib/evil_events/core/events/event_extensions/adapter_customizable.rb', line 44 def adapter_name @adapter_identifier || EvilEvents::Core::Bootstrap[:config].adapter.default end |