Adam Shelly
7/2/2008 5:18:00 PM
On 7/2/08, David A. Black <dblack@rubypal.com> 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 <adam.shelly@gmail.com> 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?