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