<commit_before>require 'active_support/core_ext/kernel/singleton_class'
require 'active_support/core_ext/hash/keys'

require 'multi_dir/version'
require 'multi_dir/paths'
require 'multi_dir/pathname_patch'

module MultiDir
  class << self
    def define_path_method(name)
      name = name.to_sym
      singleton_class.instance_eval do
        define_method(name) { self.resolve name }
      end
    end
<commit_msg>Remove AC singleton_class polyfil.<commit_after>require 'active_support/core_ext/hash/keys'

require 'multi_dir/version'
require 'multi_dir/paths'
require 'multi_dir/pathname_patch'

module MultiDir
  class << self
    def define_path_method(name)
      name = name.to_sym
      singleton_class.instance_eval do
        define_method(name) { self.resolve name }
      end
    end

{'fraction_non_alphanumeric': 0.08040201005025126, 'fraction_numerical': 0.0, 'mean_word_length': 4.044303797468355, 'pattern_counts': {'":': 0, '<': 7, '<?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': '2591662', 'n_tokens_mistral': 256, 'n_tokens_neox': 254, 'n_words': 51}