Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Ruby (http://www.velocityreviews.com/forums/f66-ruby.html)
-   -   Array#indices (http://www.velocityreviews.com/forums/t818250-array-indices.html)

James Edward Gray II 11-29-2004 11:05 PM

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

James Edward Gray II




Yukihiro Matsumoto 11-29-2004 11:13 PM

Re: Array#indices
 
Hi,

In message "Re: Array#indices"
on Tue, 30 Nov 2004 08:05:21 +0900, James Edward Gray II <james@grayproductions.net> 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.



James Edward Gray II 11-29-2004 11:22 PM

Re: Array#indices
 
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
> <james@grayproductions.net> 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





All times are GMT. The time now is 02:39 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57