Class: CardGame::French
- Inherits:
-
Deck
- Object
- Deck
- CardGame::French
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
.ranks ⇒ Object
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
|
.suits ⇒ Object
12
13
14
|
# File 'lib/cardgame/french.rb', line 12
def suits
%w{Clubs Spades Hearts Diamonds}
end
|
.trumps ⇒ Object
8
9
10
|
# File 'lib/cardgame/french.rb', line 8
def trumps
[]
end
|