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
|
end
|
||||||
|
|
||||||
def test
|
def test
|
||||||
@build = Tab.for_formula(self)
|
tab = Tab.for_formula(self)
|
||||||
|
extend Module.new { define_method(:build) { tab } }
|
||||||
ret = nil
|
ret = nil
|
||||||
mktemp do
|
mktemp do
|
||||||
@testpath = Pathname.pwd
|
@testpath = Pathname.pwd
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user