summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/psych/deprecated.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/psych/deprecated.rb b/lib/psych/deprecated.rb
index f4034e3..333c3a1 100644
--- a/lib/psych/deprecated.rb
+++ b/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