Method: Wisper::Registration#initialize
- Defined in:
- lib/wisper/registration/registration.rb
#initialize(listener, **options) ⇒ Registration
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 Registration.
7 8 9 10 |
# File 'lib/wisper/registration/registration.rb', line 7 def initialize(listener, **) @listener = listener @on = ValueObjects::Events.new [:on] end |