This method is deprecated or moved on the latest stable version.
The last existing version (v2.1.0) is shown here.
autoloadable_module?(path_suffix)
public
Does the provided path_suffix correspond to an autoloadable module? Instead
of returning a boolean, the autoload base for this module is returned.
# File activesupport/lib/active_support/dependencies.rb, line 176
def autoloadable_module?(path_suffix)
load_paths.each do |load_path|
return load_path if File.directory? File.join(load_path, path_suffix)
end
nil
end