method
safe_get
v5.0.0.1 -
Show latest stable
- Class:
ActiveSupport::Dependencies::ClassCache
safe_get(key)public
No documentation available.
# File activesupport/lib/active_support/dependencies.rb, line 587
def safe_get(key)
key = key.name if key.respond_to?(:name)
@store[key] ||= Inflector.safe_constantize(key)
end