matz / zetabits.com wrote:
>Hi,
>
>In message "[ruby-talk:9466] Newbie question: call-by-reference"
>    on 01/01/18, Marc Casaldaliga <casaldaliga / ifae.es> writes:
>
>|Hello there, I 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