class Byebug::Setting
def self.load
def self.load Dir.glob(File.expand_path('../settings/*.rb', __FILE__)).each do |file| require file end Byebug.constants.grep(/[a-z]Setting/).map do |name| setting = Byebug.const_get(name).new settings[setting.to_sym] = setting end end