Formula: fix class-level version accessor

When given no arguments, this should return the stable version, but it
hasn't since we stopped setting this direction in the class's @version
variable.
This commit is contained in:
Jack Nagel 2013-02-21 22:17:12 -06:00
parent 20328d763e
commit 4749339e5b

View File

@ -723,7 +723,6 @@ private
end end
def version val=nil def version val=nil
return @version if val.nil?
@stable ||= SoftwareSpec.new @stable ||= SoftwareSpec.new
@stable.version(val) @stable.version(val)
end end