Use the build accessor rather than metaprogramming
This commit is contained in:
parent
281646b089
commit
92eb96aca0
@ -478,8 +478,7 @@ class Formula
|
||||
end
|
||||
|
||||
def test
|
||||
tab = Tab.for_formula(self)
|
||||
extend Module.new { define_method(:build) { tab } }
|
||||
self.build = Tab.for_formula(self)
|
||||
ret = nil
|
||||
mktemp do
|
||||
@testpath = Pathname.pwd
|
||||
|
Loading…
x
Reference in New Issue
Block a user