diff options
author | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2017-03-07 20:31:53 +0900 |
---|---|---|
committer | SHIBATA Hiroshi <hsbt@ruby-lang.org> | 2017-03-07 20:31:53 +0900 |
commit | 55cd0c19eb7eae580fe38b51735d6c27680d94e7 (patch) | |
tree | c2ad8de8d69a8de84f41ee367c1c9cec1e427bbf /lib/psych/visitors/yaml_tree.rb | |
parent | 7aaf51b30af1795f140704a77528e2f35ae4283e (diff) | |
download | psych-55cd0c19eb7eae580fe38b51735d6c27680d94e7.zip |
Removed annotation for syck/rubytypes.rb
Diffstat (limited to 'lib/psych/visitors/yaml_tree.rb')
-rw-r--r-- | lib/psych/visitors/yaml_tree.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/psych/visitors/yaml_tree.rb b/lib/psych/visitors/yaml_tree.rb index 11214ec..55edbc0 100644 --- a/lib/psych/visitors/yaml_tree.rb +++ b/lib/psych/visitors/yaml_tree.rb @@ -142,7 +142,7 @@ module Psych if target.respond_to?(:to_yaml) begin loc = target.method(:to_yaml).source_location.first - if loc !~ /(syck\/rubytypes.rb|psych\/core_ext.rb)/ + if loc !~ /psych\/core_ext.rb/ unless target.respond_to?(:encode_with) if $VERBOSE warn "implementing to_yaml is deprecated, please implement \"encode_with\"" |