From 00fd8fe399514c21969b7fba99106ab1d970c47b Mon Sep 17 00:00:00 2001 From: shyouhei Date: Wed, 18 Jun 2008 06:21:30 +0000 Subject: merge revision(s) 17396: * marshal.c (w_object, marshal_dump, r_object0, marshal_load): search public methods only. [ruby-core:17283] * object.c (convert_type): ditto. * lib/singleton.rb (Singleton#_dump): conversion method should be public. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@17406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/singleton.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/singleton.rb b/lib/singleton.rb index 0ab8517275..31fb950378 100644 --- a/lib/singleton.rb +++ b/lib/singleton.rb @@ -70,8 +70,7 @@ module Singleton def dup raise TypeError, "can't dup instance of singleton #{self.class}" end - - private + # default marshalling strategy def _dump(depth=-1) '' -- cgit v1.2.3