R
Robert Dober
No surprise here eitherI don't dislike the answer - I was just curious about the change. But
now I'm wondering about David's earlier statement that under 1.9,
('!'..'~').to_a works 'correctly'.
456/26 > ruby1.9 -ve 'p ("!".."~").to_a'
ruby 1.9.0 (2007-12-25 revision 14709) [i486-linux]
-e:1: warning: (...) interpreted as grouped expression
["!", "\"", "#", "$", "%", "&", "'", "(", ")", "*", "+", ",", "-",
".", "/", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
but my 1.9 version is quite old as you can see, I doubt however that
this has changed.
R.