Fix Resource#stage method signature in debug mode

Fixes Homebrew/homebrew#27554.
This commit is contained in:
Jack Nagel 2014-03-14 12:54:17 -05:00
parent 72e0d9806b
commit 1599e9b059

View File

@ -17,7 +17,7 @@ class Object
end
module ResourceDebugger
def stage(&block)
def stage(target=nil, &block)
super do
begin
block.call(self)