# File lib/vendor/fssm/tree.rb, line 34 def each(prefix=nil, &block) @children.each do |segment, node| cprefix = prefix ? Pathname.for(prefix).join(segment) : Pathname.for(segment) block.call(cprefix, node) node.each(cprefix, &block) end end