From: Ralph Shnelvar Date: 2010-10-03T08:41:12+09:00 Subject: Pass by reference and copy on write ------------E41292132A5A76EE Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit I see http://www.ruby-forum.com/topic/41160 which has a fairly long explanation of passing stuff by reference and copy on write(cow). Let's say I have def som_func(x,y) x = 24 y = 42 end . . a=1 b=2 . . . some_func(a,b) and I want to have some_func change a to 24 and b to 42 ... How do I do it? Is there a good write-up on copy on write and how to change the values of parameters? ------------E41292132A5A76EE--