diff --git a/object.c b/object.c index 5e77630820..f996aa992d 100644 --- a/object.c +++ b/object.c @@ -246,6 +246,10 @@ init_copy(dest, obj) * s2.str[1,4] = "i" #=> "i" * s1.inspect #=> "#" * s2.inspect #=> "#" + * + * This method may have class-specific behavior. If so, that + * behavior will be documented under the #+initialize_copy+ method of + * the class. */ VALUE @@ -278,6 +282,10 @@ rb_obj_clone(obj) * in descendent classes. While clone is used to duplicate * an object, including its internal state, dup typically * uses the class of the descendent object to create the new instance. + * + * This method may have class-specific behavior. If so, that + * behavior will be documented under the #+initialize_copy+ method of + * the class. */ VALUE