Clonable
Standard basis for adding deep dup and clone to a class. Provides a class with deep cloneablity via the standard dup and clone methods.
Authors
- Ken Bloom (Current Version)
- Jim Weirich (Original Version)
History
Cloneable was ported from Jim Weirich‘s Rake.
Todo
- Is there a more robust means to determining if clone or dup is used?
Copying
Copyright (c) 2007 Ken Bloom
Ruby License
This module is free software. You may use, modify, and/or redistribute this software under the same terms as Ruby.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.