From: David Alan Black Date: 2002-01-17T07:40:14+09:00 Subject: Re: a wishlist for ruby 2.0 Hello -- On Thu, 17 Jan 2002, Joseph Benik wrote: > Ok i had two ideas for the next version of ruby but can only remember > one at the moment..... > > tr should only require one argument, the second argument should > default to '' if it isn't supplied. this seems in the spirit of > ruby's path of least resistance, and would be backwards compatible > > example: > > "string".tr('g') => "strin" Isn't it then doing exactly what String#delete does? David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav