<commit_before>require 'mixlib/shellout'
require 'stringio'

module RRImm
  module FeedConfigExtensions

    def select(&block)
      @massages << { select: block}
    end

  end
end

module RRImm
  class FeedConfig
    include FeedConfigExtensions
  end
end<commit_msg>Add all Enumerable methods in FeedConfigExtensions<commit_after>require 'mixlib/shellout'
require 'stringio'

module RRImm
  module FeedConfigExtensions

    def method_missing(name, *args, &block)
      if Enumerable.instance_methods(false).include? name
        @massages << { name => block }
      else
        raise NoMethodError
      end
    end

  end
end

module RRImm
  class FeedConfig
    include FeedConfigExtensions
  end
end
{'fraction_non_alphanumeric': 0.06073446327683616, 'fraction_numerical': 0.0, 'mean_word_length': 3.459119496855346, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 4, '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': '7373037', 'n_tokens_mistral': 225, 'n_tokens_neox': 207, 'n_words': 61}