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
..
2010-01-26 12:52:49 +00:00
2009-12-23 00:14:48 +00:00
2010-01-31 05:34:17 +00:00
2009-11-17 08:18:52 +00:00
2010-02-02 13:58:56 +00:00
2010-02-07 10:29:39 +00:00
2010-02-02 13:58:56 +00:00
2010-01-25 23:12:50 +00:00
2010-01-25 22:08:29 +00:00
2010-01-27 14:34:03 +00:00
2010-01-06 22:58:07 +00:00
2010-01-29 14:46:45 +00:00
2010-02-06 12:31:52 +00:00
2010-02-06 14:11:21 +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-02 16:31:00 +00:00
2009-12-29 01:36:26 +00:00
2010-01-25 23:12:50 +00:00
2010-01-12 14:52:11 +00:00
2010-02-06 15:26:34 +00:00
2009-12-08 07:19:09 +00:00
2010-01-25 22:08:29 +00:00
2009-12-04 04:14:37 +00:00
2010-01-25 23:12:50 +00:00
2010-02-02 13:58:56 +00:00
2009-12-27 01:51:54 +00:00
2010-02-02 13:58:56 +00:00
2010-02-04 17:11:00 +00:00
2010-01-19 00:06:04 +00:00
2010-02-08 07:43:54 +00:00
2009-12-15 17:21:09 +00:00
2010-02-02 13:58:56 +00:00
2009-12-13 11:56:37 +00:00
2010-01-25 23:12:50 +00:00
2009-11-07 12:05:38 +00:00
2010-01-25 23:12:50 +00:00
2010-02-02 13:58:56 +00:00
2009-11-11 21:42:40 +00:00
2009-11-24 11:34:45 +00:00