Class: Hand
- Inherits:
-
PileOfCards
- Object
- Array
- PileOfCards
- Hand
- Defined in:
- lib/acpc_poker_types/hand.rb
Class Method Summary collapse
Instance Method Summary collapse
- #to_acpc ⇒ Object
- #to_s ⇒ Object (also: #to_str)
Methods inherited from PileOfCards
Class Method Details
Instance Method Details
#to_acpc ⇒ Object
23 24 25 |
# File 'lib/acpc_poker_types/hand.rb', line 23 def to_acpc (map { |card| card.to_acpc }).join end |
#to_s ⇒ Object Also known as: to_str
17 18 19 |
# File 'lib/acpc_poker_types/hand.rb', line 17 def to_s join end |