Method: PathList#each
- Defined in:
- lib/path_list.rb
#each(root = ::Dir.pwd, &block) ⇒ Object
56 57 58 59 60 61 |
# File 'lib/path_list.rb', line 56 def each(root = ::Dir.pwd, &block) return enum_for(:each, root) unless block_given? root = "#{::File.expand_path(root.to_s, Dir.pwd)}/" @walker.each(root, '', &block) end |