From c48ef0082c21118f63a329d2b7bef54192c63a85 Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 7 Dec 2006 15:15:05 +0000 Subject: * lib/weakref.rb (WeakRef::__setobj__): should support marshaling. [ruby-talk:228508] * lib/delegate.rb (Delegator::marshal_load): need to call __setobj__. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/weakref.rb | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) (limited to 'lib/weakref.rb') diff --git a/lib/weakref.rb b/lib/weakref.rb index 7d43f7126..591819c94 100644 --- a/lib/weakref.rb +++ b/lib/weakref.rb @@ -48,18 +48,7 @@ class WeakRef