Hi. Is there a community convention that specifies which of the two methods, `Object#clone` and `Object#dup`, should be overridden for the purposes of deep-cloning?
On Stackoverflow, some say that `clone` should be overridden [1], while others say that `dup` is the method to be overridden [2]. So I suspect that there isn't such a convention. [1]: http://stackoverflow.com/a/8529625/1173 [2]: http://stackoverflow.com/a/11752485/1173 -- You received this message because you are subscribed to the Google Groups ruby-talk-google group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at https://groups.google.com/d/forum/ruby-talk-google?hl=en
