method
inherited
v8.1.1 -
Show latest stable
- Class:
AbstractController::Base
inherited(klass)public
No documentation available.
# File actionpack/lib/abstract_controller/base.rb, line 61
def inherited(klass) # :nodoc:
# Define the abstract ivar on subclasses so that we don't get uninitialized ivar
# warnings
unless klass.instance_variable_defined?(:@abstract)
klass.instance_variable_set(:@abstract, false)
end
klass.config = ActiveSupport::InheritableOptions.new(config)
super
end