Method: Hyperstack::Internal::State::Mapper.observed!
- Defined in:
- lib/hyperstack/internal/state/mapper.rb
.observed!(object) ⇒ Object
called when an object has been observed (i.e. read) by somebody
64 65 66 67 68 69 |
# File 'lib/hyperstack/internal/state/mapper.rb', line 64 def observed!(object) return unless @current_observer new_objects[@current_observer] << object return unless update_exclusions[object] update_exclusions[object] << @current_observer end |