From: Austin Ziegler Date: 2005-10-02T08:49:04+09:00 Subject: Re: suggested changes for ruby libraries On 10/1/05, Martin DeMello wrote: > Austin Ziegler wrote: > > str.index(find) + (find.size - 1) > Same thing. It's still asking the user to do something that is more > properly the computer's problem (explicitly specifying an algorithm for > a common task), and it's repeating a piece of information in the "call". Fair enough; I don't think that adding a boolean-style parameter is a good idea, though. I'd support an #index_of_last or something like that. -austin -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca