instance method all_files_from_tree

Ruby on Rails 1.2.1

Since v1.0.1 Last seen in v1.3.2 Private

Available in: v1.0.1 v1.1.0 v1.2.1 v1.3.2

Signature

all_files_from_tree(path)

No documentation comment.

Parameters

path req
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

Type at least 2 characters to search.

↑↓ navigate · open · esc close