instance method
_all_load_paths
Ruby on Rails 8.0.4
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 730
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 730
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Engine