From: Yukihiro Matsumoto Date: 2008-03-27T02:31:22+09:00 Subject: Re: Recent changes in Range#step behavior Hi, In message "Re: Recent changes in Range#step behavior" on Thu, 27 Mar 2008 02:25:54 +0900, Dave Thomas writes: |If member? is allowed to use non-discrete comparisons for integers, |then it should probably also do them for ranges of strings. Right now | |('a'..'z').member?('aa') | |returns false, because 'aa' is not in the set 'a', 'b'...'z'. But, |logically, if (1..3).member?(1.5) is true, then the string range |should return true as well, as 'a' <= 'aa' <= 'z'. OK, makes sense. Do you mean member? (and its alias include?) should always use discrete comparison? matz.