lib/cards_lib/deck.rb in cards_lib-0.2.0 vs lib/cards_lib/deck.rb in cards_lib-0.2.1

- old
+ new

@@ -5,9 +5,13 @@ @seed = options.fetch(:seed) { Random.new.seed } @top = 0 @cards = cards.map {|c| Card.new(c) }.shuffle(random: Random.new(@seed)).to_enum end + def inspect + "<Deck: #{size} Cards - Seed##{@seed}>" + end + def cards @cards end def peak