From: gwtmp01@... Date: 2006-01-14T09:53:37+09:00 Subject: Re: Range#member? Oddity On Jan 13, 2006, at 7:26 PM, Logan Capaldo wrote: > This seems to me to make the problem worse. People expect the > values generated by String#succ to be in the array when doing a > to_a for instance. I believe the real solution would be to bring > back the distinction between member and include (possibly with a > new name for the method with the functionality of #member). It seems strange to want Range to behave like an interval and to also want Range#to_a to create a list of elements that don't all belong in that same interval. I understand the desire to generate a sequence of strings as defined by the current behavior of String#succ but I don't understand why you would want to use a Range object as a shortcut to that sequence. That particular sequence really has nothing to do with an interval or the ordering defined by String#<=> Gary Wright