matz a7926befe0 * object.c (rb_obj_clone): call initialize_clone hook method to
call initialize_copy.

* object.c (rb_obj_dup): call initialize_dup hook.

* lib/delegate.rb (Delegator#initialize_clone): use new hook to
  implement deep copy.  [ruby-dev:40242]

* lib/delegate.rb (Delegator#initialize_dup): ditto.

* test/test_delegate.rb (TestDelegateClass#test_copy_frozen): add
  a test to ensure #clone copies frozen status.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-08 07:43:54 +00:00
..
2009-12-23 00:14:48 +00:00
2010-02-02 13:58:56 +00:00
2010-02-02 13:58:56 +00:00
2010-01-25 23:12:50 +00:00
2010-01-06 22:58:07 +00:00
2010-01-29 14:46:45 +00:00
2009-12-10 10:26:55 +00:00
2010-02-02 13:58:56 +00:00
2010-02-02 13:58:56 +00:00
2010-01-25 23:12:50 +00:00
2009-12-08 07:19:09 +00:00
2010-01-25 23:12:50 +00:00
2010-02-02 13:58:56 +00:00
2010-02-02 13:58:56 +00:00
2009-12-15 17:21:09 +00:00
2010-02-02 13:58:56 +00:00
2010-01-25 23:12:50 +00:00
2010-01-25 23:12:50 +00:00
2010-02-02 13:58:56 +00:00