From: Robert Klemme Date: 2004-06-15T05:03:36+09:00 Subject: Re: idioms for dup/clone "ts" schrieb im Newsbeitrag news:200406141449.i5EEnps24286@moulon.inra.fr... > >>>>> "P" == Paul Brannan writes: > > P> 3. Should dup be implemented in terms of clone or should clone be > P> implented in terms of dup (or should they both be implemented > P> independently or in terms of another function)? > > For 1.6 Kernel#dup is implemented via Kernel#clone > > 1.8 use #initialize_copy It does even seem to work with frozen instances. Good to know. Thanks for that hint! Regards robert