2010/3/26 Marc-Andre Lafortune <redmine / ruby-lang.org>:

> It's a minor issue, but would it not be best to call dup on the argument? Most special needs for #dup can be addressed by initialize_dup, but maybe there are some reasonable cases where some user classes will redefine #dup?

I guess the initialize_dup mechanism has some advantage because Ruby uses it
instead of redefining dup method.

I'm not certain that it is good to make it possible to avoid initialize_dup.

Anyone know the exact advantage of initialize_dup?
-- 
Tanaka Akira