method

safe_get

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

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.

safe_get(key)
public

No documentation available.

# File activesupport/lib/active_support/dependencies.rb, line 640
      def safe_get(key)
        key = key.name if key.respond_to?(:name)
        @store[key] ||= Inflector.safe_constantize(key)
      end