Exception: Card::SuitError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Card::SuitError
- Defined in:
- lib/hand_rank/test.rb
Instance Method Summary collapse
Instance Method Details
#to_s ⇒ Object
9 10 11 |
# File 'lib/hand_rank/test.rb', line 9 def to_s "Suit must be one of Replay::Poker::Card::(#{SUIT_NAMES.map{|_,s| s[0..-2].upcase }.join('|') })" end |