Skip to content

Commit ed1571d

Browse files
committed
Delete AS::Dependencies.autoloadable_module?
1 parent c1a89b5 commit ed1571d

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

activesupport/lib/active_support/dependencies.rb

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -103,16 +103,6 @@ def search_for_file(path_suffix)
103103
nil # Gee, I sure wish we had first_match ;-)
104104
end
105105

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-
end
115-
116106
# Get the reference for class named +name+.
117107
# Raises an exception if referenced class does not exist.
118108
def constantize(name)

0 commit comments

Comments
 (0)