Permalink
Browse files

finally fix #38 entirely for the sake of @enebo 's sanity

  • Loading branch information...
1 parent 9c9c686 commit 18517362e77b3fd960df28693c97aef699ebd52f @ttilley committed Jan 27, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/fssm/tree.rb
View
@@ -36,7 +36,7 @@ def each(prefix=nil, &block)
cprefix = prefix ?
FSSM::Pathname.for(prefix).join(segment) :
FSSM::Pathname.for(segment)
- block.call([cprefix, node])
+ yield [cprefix, node]
node.each(cprefix, &block)
end
end

0 comments on commit 1851736

Please sign in to comment.