method
require_dependency
v6.0.0 -
Show latest stable
- Class:
ActiveSupport::Dependencies::ZeitwerkIntegration::RequireDependency
require_dependency(filename)public
No documentation available.
# File activesupport/lib/active_support/dependencies/zeitwerk_integration.rb, line 46
def require_dependency(filename)
filename = filename.to_path if filename.respond_to?(:to_path)
if abspath = ActiveSupport::Dependencies.search_for_file(filename)
require abspath
else
require filename
end
end