class OfcpScoring::HighCard

Public Instance Methods

<=>(other) click to toggle source
Calls superclass method OfcpScoring::RankedHand#<=>
# File lib/ofcp_scoring/high_card.rb, line 2
def <=>(other)
  return super if super
  self.ranks.max <=> other.ranks.max
end