1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
nobu 2008-06-18 03:05:33 +00:00
parent 3c48ebce0b
commit 02337b089e
4 changed files with 22 additions and 14 deletions

View file

@ -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)
''