def add(x : String, y : String)
if x.to_i? && y.to_i?
*add x, y* # calls version 1 <- shouldn't it be "add x.to_i, y.to_i" here ?
end
end
1 Like
def add(x : String, y : String)
if x.to_i? && y.to_i?
*add x, y* # calls version 1 <- shouldn't it be "add x.to_i, y.to_i" here ?
end
end