<commit_before>require 'singleton'
require 'ostruct'

module ObjMud
  def self.configure(&block)
    block.call(ObjMud::Config.instance)
  end

  class Config
    include Singleton

    def initialize
      @open_config = OpenStruct.new
      @open_config.location_initializer = lambda {|location| }
      @open_config.renderer = ObjMud::View::DefaultRenderer.new
      @open_config.path_detected = lambda {|input, path| path.name.to_s.downcase == input.to_s.downcase}
      @open_config.hello_msg = "Welcome!  The minions of #{__FILE__} grow stronger...\n"
      @open_config.goodbye_msg = "Goodbye!  The minions of #{__FILE__} grow weaker...\n"
    end

    def method_missing(method, *args)
      @open_config.send(method.to_sym, *args)<commit_msg>Fixed default arrival and leaving messages<commit_after>require 'singleton'
require 'ostruct'

module ObjMud
  def self.configure(&block)
    block.call(ObjMud::Config.instance)
  end

  class Config
    include Singleton

    def initialize
      @open_config = OpenStruct.new
      @open_config.location_initializer = lambda {|location| }
      @open_config.renderer = ObjMud::View::DefaultRenderer.new
      @open_config.path_detected = lambda {|input, path| path.name.to_s.downcase == input.to_s.downcase}
      @open_config.hello_msg = "Welcome!  The minions of your project grow stronger...\n"
      @open_config.goodbye_msg = "Goodbye!  The minions of your project grow weaker...\n"
    end

    def method_missing(method, *args)
      @open_config.send(method.to_sym, *args)
{'fraction_non_alphanumeric': 0.1095890410958904, 'fraction_numerical': 0.0, 'mean_word_length': 3.7639751552795033, 'pattern_counts': {'":': 0, '<': 3, '<?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': '1962903', 'n_tokens_mistral': 506, 'n_tokens_neox': 492, 'n_words': 108}