From: Kevin Smith Date: 2001-01-18T11:49:24+09:00 Subject: [ruby-talk:9487] Re: Newbie question: call-by-reference matz@zetabits.com wrote: >Hi, > >In message "[ruby-talk:9466] Newbie question: call-by-reference" > on 01/01/18, Marc Casaldaliga writes: > >|Hello there, I�m just stuck on this. I�ve been searching the mailing >|list and found nothing, so it must be too obvious. >|But indeed, how could I get in a method call a reference to the argument >|--instead of the value--so I can modify it inside. > >How about wrapping the value by an array? Or you could wrap it in a class. More work, for sure, but perhaps the variable is on its way to becoming a full object anyway? Kevin