method

exclude_from

rails latest stable - Class: ActiveSupport::Dependencies::Loadable

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.1.7.7) is shown here.

exclude_from(base)
public

No documentation available.

# File activesupport/lib/active_support/dependencies.rb, line 236
      def self.exclude_from(base)
        base.class_eval do
          define_method(:load, Kernel.instance_method(:load))
          private :load

          define_method(:require, Kernel.instance_method(:require))
          private :require
        end
      end