H
Hal Fulton
I just wanted to make sure people don't overlook the
obvious:
def interp(x,y)
"The sum of #{x} and #{y} is #{x+y}"
end
str = interp(210,27) # "The sum of 210 and 27 is 237"
Perhaps there are cases where this is no good though.
Hal
obvious:
def interp(x,y)
"The sum of #{x} and #{y} is #{x+y}"
end
str = interp(210,27) # "The sum of 210 and 27 is 237"
Perhaps there are cases where this is no good though.
Hal