6 7 8 9 10 11 12 13 14 15
# File 'lib/cribbage/cli.rb', line 6 def count(*cards) if cards.size != 5 Console.error "You must input 5 cards" exit end hand = Cribbage::Hand.new(cards) hand.print_score end