mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/psych/lib/psych/deprecated.rb (Object#to_yaml_properties):
undef to_yaml_properties before redefine it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4247bfd60a
commit
69cb0ca3e4
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon Jun 13 12:23:39 2011 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* ext/psych/lib/psych/deprecated.rb (Object#to_yaml_properties):
|
||||
undef to_yaml_properties before redefine it.
|
||||
|
||||
Mon Jun 13 11:30:10 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
|
||||
|
||||
* ext/openssl/ossl_digest.c: allow Digests to be created by sn, ln or
|
||||
|
|
|
@ -76,6 +76,7 @@ module Psych
|
|||
end
|
||||
|
||||
class Object
|
||||
undef :to_yaml_properties rescue nil
|
||||
def to_yaml_properties # :nodoc:
|
||||
instance_variables
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue