diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-13 03:54:53 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-13 03:54:53 +0000 |
commit | 69cb0ca3e4893cbe90f610c2f39ea309ce05e1b5 (patch) | |
tree | d0360cca5034144c44af5204ee0e2c245949beb8 /ext/psych/lib/psych/deprecated.rb | |
parent | 4247bfd60a15438e6adbabff682e96a235e2d241 (diff) |
* 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
Diffstat (limited to 'ext/psych/lib/psych/deprecated.rb')
-rw-r--r-- | ext/psych/lib/psych/deprecated.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/psych/lib/psych/deprecated.rb b/ext/psych/lib/psych/deprecated.rb index f4034e32c0..333c3a1016 100644 --- a/ext/psych/lib/psych/deprecated.rb +++ b/ext/psych/lib/psych/deprecated.rb @@ -76,6 +76,7 @@ module Psych end class Object + undef :to_yaml_properties rescue nil def to_yaml_properties # :nodoc: instance_variables end |