instance method
all_files_from_tree
Ruby on Rails 1.3.2
Since v1.0.1 Last seen in v1.3.2 PrivateSignature
all_files_from_tree(path)
No documentation comment.
Parameters
-
pathreq
Source
# File lib/propshaft/load_path.rb, line 80
def all_files_from_tree(path)
path.children.flat_map { |child| child.directory? ? all_files_from_tree(child) : child }
end
Defined in lib/propshaft/load_path.rb line 80
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Propshaft::LoadPath