From: William Djaja Tjokroaminata Date: 2002-01-26T02:12:04+09:00 Subject: Re: Serious Array Bug in Ruby 1.6.6? Doesn't Object#dup or Object#clone work with *any* object? Bill ========================================================================= > W> The answer is by using Object#dup or Object#clone, which is the only > ruby make a shallow copy > W> Also, what is the practical use of Array.new(2, [[1,2]])? > Because it must work with *any* object (even object which need a special > initialization) and not only with Hash.new > Guy Decoux