Satish Talim
1/11/2008 5:55:00 AM
[Note: parts of this message were removed to make it a legal post.]
I have a simple program:
def hello2 name2
puts 'Hello ' + name2
return 'success'
end
puts(hello2 'Ruby')
When I run this in 1.8.6, I get the output as:
tmp2.rb:5: warning: parenthesize argument(s) for future version
Hello Ruby
success
However, when I run the same in the development version 1.9, I get the
output as:
Hello Ruby
success
My question is:
a. Has the warning being removed in 1.9 ?
b. What happened to parenthesize argument(s) from 1.9?