method

append_features

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

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.

append_features(base)
public

No documentation available.

# File activesupport/lib/active_support/dependencies.rb, line 189
      def self.append_features(base)
        base.class_eval do
          # Emulate #exclude via an ivar
          return if defined?(@_const_missing) && @_const_missing
          @_const_missing = instance_method(:const_missing)
          remove_method(:const_missing)
        end
        super
      end