Methods

Class Public methods

compile_methods!(keys)

Compiles reader methods so we don’t have to go through method_missing.

πŸ“ Source code
# File activesupport/lib/active_support/configurable.rb, line 20
      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
πŸ”Ž See on GitHub

Instance Public methods

compile_methods!()

πŸ“ Source code
# File activesupport/lib/active_support/configurable.rb, line 15
      def compile_methods!
        self.class.compile_methods!(keys)
      end
πŸ”Ž See on GitHub