Module Cloneable
In: lib/standard/facets/cloneable.rb

Clonable provides a standard basis for adding deep cloneablity to a class via the standard dup and clone methods.

Cloneable was originally ported from Jim Weirich‘s Rake. The current version is the work of Ken Bloom.

DEPRECATED: A better approach is to provide a deep_dup and and a deep_clone, then if a class needs these for dup and clone they can just alias them.

CREDIT: Ken Bloom

Methods

Public Instance methods

[Validate]