lib/patience/processable.rb
# Returns pile, which is being clicked.
Returns pile, which is being clicked.
Returns pile which is being clicked .
def find_pile_in(areas)
      find_area_in(areas) do |area|
        pile = area.piles.find { |pile| yield(pile) }
        return pile unless pile.nil?
      end
      nil
    end
def find_pile_in ( areas ) find_area_in ( areas ) do | area | pile = area . piles . find { | pile | yield ( pile ) } return pile unless pile . nil? end nil end
Returns pile, which is being clicked.
Returns pile which is being clicked .
areas