From: John Carter Date: 2005-04-21T12:02:05+09:00 Subject: Re: Lookup, a.collect{|i|b[i]} On Wed, 20 Apr 2005, Yukihiro Matsumoto wrote: > How about b.values_at(*a) ? Exactly what I want! I knew it was in there somewhere, but somehow I overlooked it twice. (Twice, once for Hash and once for Array) Sorry for the dumb question, thanks for the kind answer. John Carter Phone : (64)(3) 358 6639 Tait Electronics Fax : (64)(3) 359 4632 PO Box 1645 Christchurch Email : john.carter@tait.co.nz New Zealand Refactorers do it a little better every time.