Array#indices

  • Thread starter James Edward Gray II
  • Start date
J

James Edward Gray II

Why is Array#indices deprecated with a note to use Array#select, which
I don't find all that related???

James Edward Gray II
 
Y

Yukihiro Matsumoto

Hi,

In message "Re: Array#indices"

|Why is Array#indices deprecated with a note to use Array#select, which
|I don't find all that related???

It used to. Recent Ruby (e.g. 1.8.2) mentions values_at.

matz.
 
J

James Edward Gray II

Hi,

In message "Re: Array#indices"
on Tue, 30 Nov 2004 08:05:21 +0900, James Edward Gray II

|Why is Array#indices deprecated with a note to use Array#select, which
|I don't find all that related???

It used to. Recent Ruby (e.g. 1.8.2) mentions values_at.

I see. Thank you for the pointer.

To Whom it May Concern: ruby-doc.org is where I saw the Array#select
note. Looks like it needs an update.

James Edward Gray II
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top