From: daz Date: 2004-07-19T09:57:09+09:00 Subject: Re: DUPSETUP Charles Mills wrote: > > Can DUPSETUP() be used for objects with type T_DATA? > Yes, I think, because it's a part of constructing an empty object and not concerned with content. From Ruby 1.8, classes need not define their own #dup (or #clone) methods. The default methods (in Object via Kernel) embody the functionality of DUPSETUP() / CLONESETUP(), then #initialize_copy is invoked; here, you would copy across the specific T_DATA content. Any recommendation of what to use to be backward/forward compatible would have to come from those who know what's going on. Some detail of your usage requirement might be useful to them. :daz