Module: Tundengine::CardPercolator

Included in:
Stages::Trick, Suits::Base
Defined in:
lib/tundengine/card_percolator.rb

Instance Method Summary collapse

Instance Method Details

#percolate(cards, method = :select) ⇒ Object



4
5
6
# File 'lib/tundengine/card_percolator.rb', line 4

def percolate(cards, method = :select)
  cards.public_send(method) { |c| passes_card_percolator? c }
end