Method: Rinda::RingFinger#each

Defined in:
lib/rinda/ring.rb

#each {|@primary| ... } ⇒ Object

Iterates over all discovered TupleSpaces starting with the primary.

Yields:


364
365
366
367
368
369
# File 'lib/rinda/ring.rb', line 364

def each
  lookup_ring_any unless @primary
  return unless @primary
  yield(@primary)
  @rings.each { |x| yield(x) }
end