Class Rubernate::Peer
In: rubernate/peer.rb
Parent: Hash

Represent objects peer - properties holder.


[]=   dirty=   dirty?   set  

Classes and Modules

Module Rubernate::Peer::Container

External Aliases

[]= -> old_set

Public Instance methods

Sets peers dirty flag to specified value. And resets dirty flag for all properites which stored in this peer.

If peers dirty flag set to true returns it immediately else iterate over all properties and returns true if dirty property apperas. on_modify callback invoked if dirty is true.