Use SoftwareSpec directly when using a stable block
This commit is contained in:
parent
809fc87da0
commit
448ce26980
@ -679,7 +679,8 @@ class Formula
|
||||
|
||||
def stable &block
|
||||
return @stable unless block_given?
|
||||
instance_eval(&block)
|
||||
@stable ||= SoftwareSpec.new
|
||||
@stable.instance_eval(&block)
|
||||
end
|
||||
|
||||
def bottle *, &block
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user