From: ara howard Date: 2008-01-31T15:51:10+09:00 Subject: Re: Idiomatic way to copy parameters ? On Jan 30, 2008, at 5:37 PM, Leif Eriksen wrote: > But is this the ruby way ? Is this the idiomatic way to avoid side- > effects on objects passed in as parameters ? yes. i might just use local = param.dup or local = "#{ param }" though regards. a @ http://codeforpeople.com/ -- share your knowledge. it's a way to achieve immortality. h.h. the 14th dalai lama