Category talk:Ruby: Difference between revisions

From Rosetta Code
Content added Content deleted
(Pass by reference?)
(No difference)

Revision as of 20:02, 2 August 2009

Pass by reference?

How is Ruby pass-by-reference? The passing of values in Ruby (which are all references) has exactly the same semantics as the passing of reference type values in Java. (Is it not?) Java is listed as pass-by-value only. So to be consistent we should list Ruby as pass-by-value. --76.91.63.71 20:02, 2 August 2009 (UTC)