This method is deprecated or moved on the latest stable version.
The last existing version (v2.1.0) is shown here.
autoloaded?(desc)
public
Determine if the given constant has been automatically loaded.
# File activesupport/lib/active_support/dependencies.rb, line 291
def autoloaded?(desc)
# No name => anonymous module.
return false if desc.is_a?(Module) && desc.name.blank?
name = to_constant_name desc
return false unless qualified_const_defined? name
return autoloaded_constants.include?(name)
end