Libraries »
rubylove-playing_cards (0.0.1)
»
Index »
File: README
Usage
require'playing_cards'cards=Deck.build# defaults to a shoe_size of 1
cards=Deck.shuffle(cards)# shuffle!
cards=Deck.cut(cards)# cut the cards!
dealt,cards=Deck.deal(cards)# => [top_card, rest_of_the_cards]