From: Simon Strandgaard Date: 2004-04-06T08:29:20+09:00 Subject: Re: [bug] Array#fetch weird second argument On Tue, 06 Apr 2004 08:34:07 +0900, Dave Thomas wrote: > On Apr 5, 2004, at 14:14, Simon Strandgaard wrote: > >> While adding a testcase to rubicon for Array#fetch, I discovered that >> #fetch takes a second argument. However I cannot figure out what its >> purpose are. I have tried with lots of different input. >> > >> It looks like a bug to me. > > Did you try 'ri Array.fetch?' [snip ri-output] Yes, but then it was too late.. I had already posted this message :-) I must admit that Im not that used to 'ri'.. I keep forgetting. BTW: ri is nice. BTW2: I have added some tests of ruby-1.8's new methods in rubicon. -- Simon Strandgaard