Category talk:Ruby

From Rosetta Code
Revision as of 20:02, 2 August 2009 by 76.91.63.71 (talk) (Pass by reference?)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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)