From: Robert Dober Date: 2009-04-28T23:50:36+09:00 Subject: Re: Is there anything like Array#Index that takes a block? On Tue, Apr 28, 2009 at 4:19 PM, badboy wrote: > Robert Dober schrieb: >>>  If a block is given instead of an argument, returns first >>>     object for which _block_ is true. >> I could not believe it says that, probably should provide a patch. >> >> OP do not worry, of course it returns the index and not the object. >> HTH >> R. >> > ah! yeah, I saw that, too but missed to mention it. It's just a > documentation mistake yes indeed, but do you not think this is bad? I had to fire up irb to check so have done billions of billions of Ruby users in the universe... Think big! R.