Documentation for index() and find_index()

Hi,

I was looking for documentation for the block variants of Array#index
and/or Array#find_index methods at
http://www.ruby-doc.org/core/classes/Array.html
but could not find anything (I do see the object variant of
Array#index). Are they documented elsewhere ?

Thanks.

On 11/06/2010 05:04 PM, Bug F. wrote:

It is documented in the source. ruby-doc.org is just out of date.

http://rdoc.info/docs/ruby-core/1.8.7/Array:index

-Justin

On Nov 6, 5:04pm, Bug F. [email protected] wrote:

I was looking for documentation for the block variants of Array#index
and/or Array#find_index methods
athttp://www.ruby-doc.org/core/classes/Array.html
but could not find anything (I do see the object variant of
Array#index). Are they documented elsewhere ?

The 1.9 docs seem to have them:
http://ruby-doc.org/ruby-1.9/index.html
specifically:
http://ruby-doc.org/ruby-1.9/classes/Array.html#M000712