method

include_into

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.

include_into(base)
public

No documentation available.

# File activesupport/lib/active_support/dependencies.rb, line 246
      def self.include_into(base)
        base.include(self)

        if base.instance_method(:load).owner == base
          base.remove_method(:load)
        end

        if base.instance_method(:require).owner == base
          base.remove_method(:require)
        end
      end