Method: CRDT::VectorClock#value
- Defined in:
- lib/crdt/vector_clock.rb
#value(node = nil) ⇒ Object
Get the current clock value for the given node
30 31 32 33 |
# File 'lib/crdt/vector_clock.rb', line 30 def value(node = nil) node ||= @default_node @clocks[node] end |