I've found that using:

copy = one.map { |el| el.clone }

will copy all elements into the new array without referring to the same 
object.
Is there a reason why the clone function has been ommitted from the API 
doc?


-- 
Posted via http://www.ruby-forum.com/.