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:
parent
3c48ebce0b
commit
02337b089e
4 changed files with 22 additions and 14 deletions
|
@ -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)
|
||||
''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue