Method: Rinda::TupleBag#find_all

Defined in:
lib/rinda/tuplespace.rb

#find_all(template) ⇒ Object

Finds all live tuples that match template.



352
353
354
355
356
# File 'lib/rinda/tuplespace.rb', line 352

def find_all(template)
  bin_for_find(template).find_all do |tuple|
    tuple.alive? && template.match(tuple)
  end
end