On 07.08.2009 17:47, Janus Bor wrote:
> Thank you both, that's exactly what I'm looking for!
> 

Just note that #dup and #clone do a shallow copy, so if you modify 
objects in the copy this change will also be seen via the original 
Array.  Depending on what you do #map might be more appropriate.

Kind regards

	robert


-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/