Ranking Poker Hands in Ruby