From: 7stud -- Date: 2009-10-31T18:03:27+09:00 Subject: Re: In-place parameter modification Judson Lester wrote: > Finally: ruby is a pass-by-reference language, so if you actually do > make > changes the parameters of a method, the callers variables will change as > well. def test(x) x = 10 end num = 5 test num puts num --output:-- 5 ??? -- Posted via http://www.ruby-forum.com/.