From: Vincent Fourmond Date: 2007-01-27T08:32:52+09:00 Subject: Re: pass by reference? Andy Koch wrote: > Hello, > > Is there a way to pass variables by reference into function. > > I have large string to pass and the pass by value seems to be eating up > too much memory. You don't actually need to do anything: everything in ruby is passed by reference, (excepted integers, symbols, nil, false and true - am I missing one ?) Cheers, Vincent -- Vincent Fourmond, PhD student (not for long anymore) http://vincent.fourmond.neuf.fr/