From: Kevin Smith Date: 2001-09-04T00:36:53+09:00 Subject: [ruby-talk:20784] Re: RCR: non-bang equivalent to []= --- Tobias Reif wrote: > > Many of the Array methods are already bang-type > methods, > > even though they don't have the bang: clear, delete, > > delete_at, delete_if, fill, pop, push, replace, shift, > > unshift. > > I'd like to have bang and non-bang versions of each and > every method. > The names should just differ in the !, like collect and > collect! If we were starting from scratch, I'd probably agree. I think it's too late to make such a sweeping change to such a fundamental class. Of course, you can always implement your own SaneArray class... Kevin __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com