method
inherited
v4.2.7 -
Show latest stable
- Class:
AbstractController::Helpers::ClassMethods
inherited(klass)public
When a class is inherited, wrap its helper module in a new module. This ensures that the parent class’s module can be changed independently of the child class’s.