Class: PokerRanking::HandType::HighCard
- Inherits:
-
Base
- Object
- Base
- PokerRanking::HandType::HighCard
show all
- Defined in:
- lib/hand_type/high_card.rb
Instance Attribute Summary
Attributes inherited from Base
#cards
Instance Method Summary
collapse
Methods inherited from Base
#cards_for_values_and_kickers, #cards_in_straight, #highest_same_value, #highest_same_value_except, #initialize, #kickers, #n_of_a_kind?, #number_of_kickers, #second_value, #straight_value_of, #value
Instance Method Details
#cards_used ⇒ Object
17
18
19
|
# File 'lib/hand_type/high_card.rb', line 17
def cards_used
cards_for_values_and_kickers
end
|
#handles? ⇒ Boolean
5
6
7
|
# File 'lib/hand_type/high_card.rb', line 5
def handles?
true
end
|
#name ⇒ Object
13
14
15
|
# File 'lib/hand_type/high_card.rb', line 13
def name
'high card'
end
|
#rank ⇒ Object
9
10
11
|
# File 'lib/hand_type/high_card.rb', line 9
def rank
0
end
|