Module: Hyperstack::State::Observer
- Defined in:
- lib/hyperstack/state/observer.rb
Instance Method Summary collapse
- #observing(immediate_update: false, rendering: false, update_objects: false, &block) ⇒ Object
- #remove ⇒ Object
- #update_objects_to_observe ⇒ Object
Instance Method Details
#observing(immediate_update: false, rendering: false, update_objects: false, &block) ⇒ Object
4 5 6 |
# File 'lib/hyperstack/state/observer.rb', line 4 def observing(immediate_update: false, rendering: false, update_objects: false, &block) Internal::State::Mapper.observing(self, immediate_update, rendering, update_objects, &block) end |
#remove ⇒ Object
12 13 14 |
# File 'lib/hyperstack/state/observer.rb', line 12 def remove Internal::State::Mapper.remove(self) end |
#update_objects_to_observe ⇒ Object
8 9 10 |
# File 'lib/hyperstack/state/observer.rb', line 8 def update_objects_to_observe Internal::State::Mapper.update_objects_to_observe(self) end |