Use SoftwareSpec directly when using a stable block

This commit is contained in:
Jack Nagel 2013-09-12 19:43:22 -05:00
parent 809fc87da0
commit 448ce26980

View File

@ -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