Method: ActiveSupport::Configurable::ClassMethods#config

Defined in:
activesupport/lib/active_support/configurable.rb

#configObject



30
31
32
33
34
35
36
37
# File 'activesupport/lib/active_support/configurable.rb', line 30

def config
  @_config ||= if respond_to?(:superclass) && superclass.respond_to?(:config)
    superclass.config.inheritable_copy
  else
    # create a new "anonymous" class that will host the compiled reader methods
    Class.new(Configuration).new
  end
end