Class: EvilEvents::Core::Events::Notifier::Proxy Private
- Inherits:
-
Object
- Object
- EvilEvents::Core::Events::Notifier::Proxy
- Extended by:
- Forwardable
- Defined in:
- lib/evil_events/core/events/notifier/proxy.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.
Instance Attribute Summary collapse
- #initialization_mutex ⇒ Mutex readonly private
Instance Method Summary collapse
-
#initialize ⇒ Proxy
constructor
private
A new instance of Proxy.
- #notifier ⇒ Abstract, ... private
Constructor Details
#initialize ⇒ Proxy
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 a new instance of Proxy.
20 21 22 |
# File 'lib/evil_events/core/events/notifier/proxy.rb', line 20 def initialize @initialization_mutex = Mutex.new end |
Instance Attribute Details
#initialization_mutex ⇒ Mutex (readonly)
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.
16 17 18 |
# File 'lib/evil_events/core/events/notifier/proxy.rb', line 16 def initialization_mutex @initialization_mutex end |
Instance Method Details
#notifier ⇒ Abstract, ...
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.
28 29 30 31 32 |
# File 'lib/evil_events/core/events/notifier/proxy.rb', line 28 def notifier initialization_mutex.synchronize do @notifier ||= EvilEvents::Core::Events::Notifier::Builder.build_notifier! end end |