class ActiveSupport::Configurable::Configuration
def self.compile_methods!(keys)
def self.compile_methods!(keys) keys.reject { |m| method_defined?(m) }.each do |key| class_eval <<-RUBY, __FILE__, __LINE__ + 1 def #{key}; _get(#{key.inspect}); end RUBY end end
def compile_methods!
def compile_methods! self.class.compile_methods!(keys) end