<commit_before>module Poker
  class Deck < Array
    def initialize
      cards = []
      Card::SUITS.each { |s|
        Card::RANKS.each { |r|
          cards << Card.new(r+s)
        }
      }
      super(cards)
    end
  end
end<commit_msg>CHange Poker::Deck to be composed of an array<commit_after>module Poker
  class Deck
    include Enumerable

    def initialize
      @cards = []
      Card::SUITS.each { |s|
        Card::RANKS.each { |r|
          @cards << Card.new(r+s)
        }
      }
    end

    def each(&block)
      @cards.each(&block)
    end

    def size
      @cards.size
    end
  end
end
{'fraction_non_alphanumeric': 0.11219512195121951, 'fraction_numerical': 0.0, 'mean_word_length': 1.7256637168141593, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6672470', 'n_tokens_mistral': 214, 'n_tokens_neox': 211, 'n_words': 50}