class GooseGame::Cell::Winning

Public Instance Methods

call(player, dice) click to toggle source
Calls superclass method GooseGame::Cell::Base#call
# File lib/goose_game/cell.rb, line 51
def call(player, dice)
  super.tap do |pos|
    @tokens << "#{player} Wins!!"
  end
end