class OfcpScoring::Flush
Public Instance Methods
<=>(other)
click to toggle source
Calls superclass method
OfcpScoring::RankedHand#<=>
# File lib/ofcp_scoring/flush.rb, line 3 def <=>(other) return super if super highest_flush_card <=> other.highest_flush_card end
highest_flush_card()
click to toggle source
# File lib/ofcp_scoring/flush.rb, line 8 def highest_flush_card ranks.max end