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:
parent
20328d763e
commit
4749339e5b
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user