From: Kevin Smith Date: 2001-01-10T11:45:06+09:00 Subject: [ruby-talk:8973] Re: Hash#index !==> Hash#indexes Aleksi Niemel wrote: > Hash#index return the key > Hash#indexes return the values > >and noting that I'm not expecting it. Do you? I agree that this is a big surprise. I would love to see indexes deprecated to avoid continuing this confusion. Perhaps Hash#keys and Hash#values should be extended to take an optional parameter listing the values/keys that you would like to get keys/values for? Kevin