WKC CCC wrote:

> 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?

But the "clone" method is included in the API documentation, it is a
question of locating which class it belongs to. Remember that members of a
particular class inherit the methods of that class's ancestors as well as
its own.

For a given object, to display a sorted list of the methods available to it,
do this:

puts (object).methods.sort.join("\n")

-- 
Paul Lutus
http://www.arachnoid.com