From: Tridib Bandopadhyay Date: 2012-01-18T04:36:37+09:00 Subject: Passing reference to a class Hello How to pass reference to a class in Ruby? For example:- def func(x) x = x+1 end a = 5 func(a) puts a Regards Tridib -- Posted via http://www.ruby-forum.com/.