We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1a89b5 commit ed1571dCopy full SHA for ed1571d
activesupport/lib/active_support/dependencies.rb
@@ -103,16 +103,6 @@ def search_for_file(path_suffix)
103
nil # Gee, I sure wish we had first_match ;-)
104
end
105
106
- # Does the provided path_suffix correspond to an autoloadable module?
107
- # Instead of returning a boolean, the autoload base for this module is
108
- # returned.
109
- def autoloadable_module?(path_suffix)
110
- autoload_paths.each do |load_path|
111
- return load_path if File.directory? File.join(load_path, path_suffix)
112
- end
113
- nil
114
115
-
116
# Get the reference for class named +name+.
117
# Raises an exception if referenced class does not exist.
118
def constantize(name)
0 commit comments