Class: Glimmer::DataBinding::Observer::Registration
- Inherits:
-
Struct
- Object
- Struct
- Glimmer::DataBinding::Observer::Registration
- Defined in:
- lib/glimmer/data_binding/observer.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#observable ⇒ Object
Returns the value of attribute observable.
-
#observer ⇒ Object
Returns the value of attribute observer.
Instance Method Summary collapse
- #deregister ⇒ Object (also: #unregister, #unobserve)
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args
49 50 51 |
# File 'lib/glimmer/data_binding/observer.rb', line 49 def args @args end |
#observable ⇒ Object
Returns the value of attribute observable
49 50 51 |
# File 'lib/glimmer/data_binding/observer.rb', line 49 def observable @observable end |
#observer ⇒ Object
Returns the value of attribute observer
49 50 51 |
# File 'lib/glimmer/data_binding/observer.rb', line 49 def observer @observer end |
Instance Method Details
#deregister ⇒ Object Also known as: unregister, unobserve
50 51 52 |
# File 'lib/glimmer/data_binding/observer.rb', line 50 def deregister observer.unobserve(observable, *args) end |