From: Mark Hubbart Date: 2005-02-20T07:13:44+09:00 Subject: Re: Array#=== On Sun, 20 Feb 2005 07:04:44 +0900, Martin DeMello wrote: > It seems a bit of a waste for Array#=== to default to Object#=== - it'd > be far more useful, IMO, to have it call include?. Can anyone see a > drawback to this? I've wondered about this too. It seems that the === method loosely translates to a membership test, so it would make sense if it tested membership with arrays, as well as ranges and classes and regexps. I can't see any drawbacks, though. (though that doesn't mean there aren't any) cheers, Mark