method

inherited

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: AbstractController::Base
inherited(klass) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
        super
      end
Register or log in to add new notes.