Array#indices

Discussion in 'Ruby' started by James Edward Gray II, Nov 29, 2004.

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

    James Edward Gray II
     
    James Edward Gray II, Nov 29, 2004
    #1
    1. Advertising

  2. Hi,

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

    |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.
     
    Yukihiro Matsumoto, Nov 29, 2004
    #2
    1. Advertising

  3. On Nov 29, 2004, at 5:13 PM, Yukihiro Matsumoto wrote:

    > Hi,
    >
    > In message "Re: Array#indices"
    > on Tue, 30 Nov 2004 08:05:21 +0900, James Edward Gray II
    > <> writes:
    >
    > |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
     
    James Edward Gray II, Nov 29, 2004
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Justin
    Replies:
    1
    Views:
    486
    Gunnar Hjalmarsson
    Jun 3, 2004
  2. b83503104
    Replies:
    3
    Views:
    4,030
    Al Bowers
    May 21, 2004
  3. Thomas Hawtin

    64-bit array indices RFE

    Thomas Hawtin, Aug 12, 2006, in forum: Java
    Replies:
    2
    Views:
    1,328
    Patricia Shanahan
    Aug 12, 2006
  4. Sterten

    checking array indices

    Sterten, Jul 24, 2004, in forum: C Programming
    Replies:
    26
    Views:
    645
    Ricardo Gibert
    Jul 27, 2004
  5. KLaus Blank
    Replies:
    1
    Views:
    458
Loading...

Share This Page