Standard basis for adding deep # and # to a class. Provides a class with deep cloneablity via the standard # and # methods.
Ken Bloom (Current Version)
Jim Weirich (Original Version)
Cloneable was ported from Jim Weirich’s Rake.
Is there a more robust means to determining if clone or dup is used?
Copyright © 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.