Method: Nali::Model#sync
- Defined in:
- lib/nali/model.rb
#sync(*watches) ⇒ Object
65 66 67 68 |
# File 'lib/nali/model.rb', line 65 def sync( *watches ) watches.flatten.each { |client| client.watch self } clients.each { |client| client.sync self if client.watch?( self ) } end |