Hi,

This has been discussed in other threads, but I still need one
concrete example of how one would clone an object's private fields
without exposing them (in other words, make them public)

class A
  def initialize (anArray)
    @array = anArray
  end
end

How would I 'deep copy' this without making a public accessor to
array?

Thanks
-lw