A new instance of Shoe.
#cards, #cards_left, #draw, #shuffle, #shuffle!, #to_s
Returns a new instance of Shoe.
5 6 7 8 9
# File 'lib/blackjack/shoe.rb', line 5 def initialize(decks=4, shuffle=true) @cards = [] decks.times { @cards = @cards + Deck.new().cards } self.shuffle! if shuffle end