Class: TexasHoldem::HighCard
Instance Attribute Summary
Attributes inherited from PlayerHand
#cards
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from PlayerHand
#<=>, inherited, #initialize, #remaining_cards, #score
Class Method Details
.create(cards) ⇒ Object
204
205
206
|
# File 'lib/player_hand.rb', line 204
def self.create(cards)
new(cards)
end
|
Instance Method Details
#base_score ⇒ Object
212
213
214
|
# File 'lib/player_hand.rb', line 212
def base_score
0
end
|
#name ⇒ Object
208
209
210
|
# File 'lib/player_hand.rb', line 208
def name
'high card'
end
|
#relative_score ⇒ Object
216
217
218
|
# File 'lib/player_hand.rb', line 216
def relative_score
0
end
|