From 02337b089e76a70ffc269beda8d778a175d575d3 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 18 Jun 2008 03:05:33 +0000 Subject: * 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/trunk@17396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/singleton.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/singleton.rb') diff --git a/lib/singleton.rb b/lib/singleton.rb index a5c7eb164d..c6a2527d9a 100644 --- a/lib/singleton.rb +++ b/lib/singleton.rb @@ -71,8 +71,6 @@ module Singleton raise TypeError, "can't dup instance of singleton #{self.class}" end - private - # default marshalling strategy def _dump(depth = -1) '' -- cgit v1.2.3