Use a module since the @build ivar is going away soon
This commit is contained in:
parent
fd86e6d636
commit
5a94cfc4a3
@ -479,7 +479,8 @@ class Formula
|
||||
end
|
||||
|
||||
def test
|
||||
@build = Tab.for_formula(self)
|
||||
tab = Tab.for_formula(self)
|
||||
extend Module.new { define_method(:build) { tab } }
|
||||
ret = nil
|
||||
mktemp do
|
||||
@testpath = Pathname.pwd
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user