From: Shin guey Wong Date: 2007-03-14T22:13:48+09:00 Subject: Re: A simple question regarding ruby method argument Tim Becker wrote: > tmp=1 > modify tmp # doesn't work as you'd like, tmp is still 1 > puts tmp > => 1 > Hi Tim, If I have a method which will need to modify the parameter passing to it, how do I going to do that in ruby? In c we can pass in reference using the & or c# using ref or out. But I am not sure Ruby have this kind of keyword or not. The method I use is define by the com dll and I calling it using win32ole. Thanks. -- Posted via http://www.ruby-forum.com/.