From: Hal Fulton Date: 2006-09-14T09:39:32+09:00 Subject: Re: arbitrary indexes Rick DeNatale wrote: > irb(main):005:0> (0..10).to_a.values_at([2, 3, 4, 5]) > TypeError: can't convert Array into Integer > from (irb):5:in `values_at' > from (irb):5 > from :0 > > This seems a little inconsistent, it would seem better if it handled > any arguments which were enumerables containing integers. > I see your point. But you can just use an asterisk to expand it. Hal