Class: Wisper::Registration Private
- Inherits:
-
Object
- Object
- Wisper::Registration
- Defined in:
- lib/wisper/registration/registration.rb
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.
Direct Known Subclasses
Instance Attribute Summary collapse
- #listener ⇒ Object readonly private
- #on ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(listener, **options) ⇒ Registration
constructor
private
A new instance of Registration.
Constructor Details
#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 |
Instance Attribute Details
#listener ⇒ Object (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.
5 6 7 |
# File 'lib/wisper/registration/registration.rb', line 5 def listener @listener end |
#on ⇒ Object (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.
5 6 7 |
# File 'lib/wisper/registration/registration.rb', line 5 def on @on end |