SoftwareSpec: simplify conditional

This commit is contained in:
Jack Nagel committed 2012-08-18 11:12:09 -05:00
1 parent 9e80ec2c11
commit e53bb4f18b
1 file changed
+1 -3
+1 -3
View File
@@ -45,9 +45,7 @@ class SoftwareSpec
def url val=nil, specs=nil
return @url if val.nil?
@url = val
if specs.nil?
@using = nil
else
unless specs.nil?
@using = specs.delete :using
@specs = specs
end