Method: Observable#changed
- Defined in:
- lib/fable/observer.rb
#changed(state = true) ⇒ Object
Set the changed state of this object. Notifications will be sent only if the changed state is true.
state-
Boolean indicating the changed state of this Observable.
170 171 172 |
# File 'lib/fable/observer.rb', line 170 def changed(state=true) @observer_state = state end |