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 bde4b04 commit c1a89b5Copy full SHA for c1a89b5
activesupport/lib/active_support/dependencies.rb
@@ -113,12 +113,6 @@ def autoloadable_module?(path_suffix)
113
nil
114
end
115
116
- def load_once_path?(path)
117
- # to_s works around a ruby issue where String#start_with?(Pathname)
118
- # will raise a TypeError: no implicit conversion of Pathname into String
119
- autoload_once_paths.any? { |base| path.start_with?(base.to_s) }
120
- end
121
-
122
# Get the reference for class named +name+.
123
# Raises an exception if referenced class does not exist.
124
def constantize(name)
0 commit comments