Module: Wisper
- Defined in:
- lib/wisper.rb,
lib/wisper/version.rb,
lib/wisper/publisher.rb,
lib/wisper/global_listeners.rb,
lib/wisper/registration/block.rb,
lib/wisper/registration/object.rb,
lib/wisper/temporary_listeners.rb,
lib/wisper/registration/registration.rb
Defined Under Namespace
Modules: Publisher
Classes: BlockRegistration, GlobalListeners, ObjectRegistration, Registration, TemporaryListeners
Constant Summary
collapse
- VERSION =
"1.1.0"
Class Method Summary
collapse
Class Method Details
.included(base) ⇒ Object
11
12
13
14
|
# File 'lib/wisper.rb', line 11
def self.included(base)
warn "[DEPRECATION] `include Wisper::Publisher` instead of `include Wisper`"
base.class_eval { include Wisper::Publisher }
end
|
.with_listeners(*args, &block) ⇒ Object
16
17
18
|
# File 'lib/wisper.rb', line 16
def self.with_listeners(*args, &block)
TemporaryListeners.with(*args, &block)
end
|