From: Adam Shelly Date: 2008-07-03T02:17:31+09:00 Subject: Re: Ranges and Enumerable problems On 7/2/08, David A. Black wrote: > In 1.9 you get this: > > > > ('!'..'~').to_a > > > > => ["!", "\"", "#", "$", "%", "&", "'", "(", ")", "*", "+", ",", "-", > ".", "/", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", ":", ";", > "<", "=", ">", "?", "@", "A", "B", "C", "D", "E", "F", "G", "H", "I", > "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", > "X", "Y", "Z", "[", "\\", "]", "^", "_", "`", "a", "b", "c", "d", "e", > "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", > "t", "u", "v", "w", "x", "y", "z", "{", "|", "}", "~"] On 7/2/08, Adam Shelly wrote: > There has been discussion off and on about changing Range to use some > new alternate method to #succ which would guarantee 'sane' behavoir, > but nothing has ever come of it. > Looks like I spoke too soon. Did Range#each change, or did String#succ?