From: Adam Shelly Date: 2008-07-04T05:00:57+09:00 Subject: Re: Ranges and Enumerable problems On 7/3/08, Robert Dober wrote: > Adam my apologies, instead of logic nitpicking, which was fun of > course, I could have provided an answer to the original question too > ;). > But you will not like it :( > No need to apologize. Tangents can be fun. I 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'. Does this mean that Range.each has even more special cases for Strings? That would be unfortunate. It seems cleaner if Range could use an alternate method (#advance ?) which would be an alias for #succ in class Object, but would be overridden by String and other classes where x.succ doesn't always compare greater than x. -Adam