From: "trans. (T. Onoma)" Date: 2004-10-05T19:48:17+09:00 Subject: Re: Too Many Ways? On Tuesday 05 October 2004 06:05 am, Brian Candler wrote: > Errm, well it looks right to me. If you're saying that the range 0...10 is > actually the set of integers 0,1,2,3,4,5,6,7,8,9, then 4.3 is not a member > of that set; but if you consider it as a continuous range along the number > line, then 4.3 is included within that range. And Ruby does indeed > recognise the distinction: Well, yes, one could look at it that way. But I mean in accordance to the definition as given by Enumerable. From the Pickaxe: include? enumObj.include?( anObject ) -> true or false Returns true if any member of enumObj equals anObject. Equality is tested using ==. -T.