From: Mathieu Bouchard Date: 2001-02-20T10:59:18+09:00 Subject: [ruby-talk:11143] Re: Summary: RCR #U002 - proper new name fo r indexes On Tue, 20 Feb 2001, David Alan Black wrote: > For some reason I'm not convinced that the > underlying array-hash structural similarity means that the terms > should be the same, or developed in parallel. (For instance, I've > never missed having Array#has_value?) Maybe that's because it's called Array#include? ? Array#has_key? is missing though, but it is simply definable: class Array def has_key?(k) (0...length) === k end end matju