You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code includes 3 nested assignments, yet none of these contribute to the method's "length":
def parse(arg, argv, &error)
if !(val = arg) and (argv.empty? or /\A-/ =~ (val = argv[0]))
return nil, block, nil
end
opt = (val = parse_arg(val, &error))[1]
val = conv_arg(*val)
if opt and !arg
argv.shift
else
val[0] = nil
end
val
end
The metho'ds length is reported as 6, but should be 9.
The text was updated successfully, but these errors were encountered:
The following code includes 3 nested assignments, yet none of these contribute to the method's "length":
The metho'ds length is reported as 6, but should be 9.
The text was updated successfully, but these errors were encountered: