From: ts Date: 2001-01-09T21:54:26+09:00 Subject: [ruby-talk:8919] Re: Hash#index !==> Hash#indexes >>>>> "A" == =?iso-8859-1?Q?Aleksi Niemel=E4?= writes: A> a = list.collect { |obj| h.index(obj) } Hash#index return the key corresponding to obj A> b = h.indexes(*list) Hash#indexes ( #indices ) return all values associated with the keys given in arguments. Guy Decoux