Subject: Ruby Object Model bothering me
From: "Kurt M. Dresner" <kdresner cs.utexas.edu>
Date: Sun, 14 Sep 2003 08:48:17 +0900
Ok, so I did
a = Array.new(number, [])
It's really bothering me that if I do a[i] = n, all of a is now n.
Is there a graceful way to get around this?
-Kurt