Class: CardGame::French

Inherits:
Deck
  • Object
show all
Defined in:
lib/cardgame/french.rb

Class Method Summary collapse

Methods inherited from Deck

#deal, #initialize

Constructor Details

This class inherits a constructor from CardGame::Deck

Class Method Details

.ranksObject



4
5
6
# File 'lib/cardgame/french.rb', line 4

def ranks
  %w{Ace 2 3 4 5 6 7 8 9 10 Knave Queen King}
end

.suitsObject



12
13
14
# File 'lib/cardgame/french.rb', line 12

def suits
  %w{Clubs Spades Hearts Diamonds}
end

.trumpsObject



8
9
10
# File 'lib/cardgame/french.rb', line 8

def trumps
  []
end