instance method
_all_load_paths
Ruby on Rails 7.2.3
Since v3.0.20 PrivateSignature
_all_load_paths(add_autoload_paths_to_load_path)
No documentation comment.
Parameters
-
add_autoload_paths_to_load_pathreq
Source
# File railties/lib/rails/engine.rb, line 726
def _all_load_paths(add_autoload_paths_to_load_path)
@_all_load_paths ||= begin
load_paths = config.paths.load_paths
if add_autoload_paths_to_load_path
load_paths += _all_autoload_paths
load_paths += _all_autoload_once_paths
end
load_paths.uniq
end
end
Defined in railties/lib/rails/engine.rb line 726
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Engine