From: Chan Nguyen Date: 2010-08-14T16:17:20+09:00 Subject: Does Ruby have reference parameter? Hi everyone, In C++, in order to modify a variable being passed into a function we do [code] void func( int& x ) { x = 10; } [/code] I wonder is there a way to do something like this in Ruby or a similar idea? If there's no reference type then how would we be able to modify a varible? Thanks, -- Posted via http://www.ruby-forum.com/.