Use the build accessor rather than metaprogramming
This commit is contained in:
parent
281646b089
commit
92eb96aca0
@ -478,8 +478,7 @@ class Formula
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test
|
def test
|
||||||
tab = Tab.for_formula(self)
|
self.build = 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