From: Kyle Schmitt Date: 2007-07-26T00:46:43+09:00 Subject: Re: A question of style... On 7/25/07, cardboard42@gmail.com wrote: > I think it's more standard to use String#dup rather than clone. If all > these pages have access to the cleanURL method why not just do the dup > in there rather than passing in the copy? > > Ken That's a good option. Would it make sense though? Having it in the initialize method makes it clear when you start reading the class, but having it in the cleanURL method shows it to the user where it is used... I'm just trying to figure out which way will really be best.