lib/crdt/types/set.rb
# Only broadcasts the operation
#   doesn't determine if/how this would appear
#   to the outside world.
Only broadcasts the operation
doesn't determine if/how this would appear
to the outside world.
Only broadcasts the operation doesn ' t determine if / how this would appear to the outside world .
def _add(vector, broadcast=true)
    dirty!
    @added.add(vector).tap do
      broadcast and changed and notify_observers :_add, vector 
    end
  end
def _add ( vector , broadcast = true ) dirty! @added . add ( vector ) . tap do broadcast and changed and notify_observers :_add , vector end end
Only broadcasts the operation
doesn't determine if/how this would appear
to the outside world.
Only broadcasts the operation doesn ' t determine if / how this would appear to the outside world .
# unless will_appear_added?(vector) # end # don't rebroadcast   
vector
<not_specific>
broadcast
<not_specific>