From: ts Date: 2002-09-19T00:31:33+09:00 Subject: Re: Picking arbitrary elements from an array >>>>> "M" == Michael Campbell writes: >> > Array#indices (deprecated in 1.7.*) M> Is there going to be a 1.7+ replacement? Yes, Array#select pigeon% ./ruby -ve 'p [0, 1, 2].indices(0, 2)' ruby 1.7.3 (2002-09-13) [i686-linux] -e:1: warning: Array#indices is deprecated; use Array#select [0, 2] pigeon% pigeon% ./ruby -ve 'p [0, 1, 2].select(0, 2)' ruby 1.7.3 (2002-09-13) [i686-linux] [0, 2] pigeon% Guy Decoux