diff options
Diffstat (limited to 'ext/psych/lib/psych/deprecated.rb')
-rw-r--r-- | ext/psych/lib/psych/deprecated.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/psych/lib/psych/deprecated.rb b/ext/psych/lib/psych/deprecated.rb index c0c9abef7a..26e431dd81 100644 --- a/ext/psych/lib/psych/deprecated.rb +++ b/ext/psych/lib/psych/deprecated.rb @@ -1,6 +1,8 @@ require 'date' module Psych + DEPRECATED = __FILE__ # :nodoc: + module DeprecatedMethods # :nodoc: attr_accessor :taguri attr_accessor :to_yaml_style @@ -19,3 +21,9 @@ module Psych target.psych_to_yaml unless opts[:nodump] end end + +class Object + def to_yaml_properties # :nodoc: + instance_variables + end +end |