Permalink
Browse files

Return the demolisher node when passed a block

  • Loading branch information...
1 parent 80e9f5e commit d0c82370f23128f08310b500ef5dde58ad12ab63 @geoffgarside committed Feb 25, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/demolisher.rb
View
@@ -84,6 +84,7 @@ def method_missing(meth, *args, &block) # :nodoc:
end
@nodes.pop
end
+ self
else
node = xpath.first

0 comments on commit d0c8237

Please sign in to comment.