diff options
-rw-r--r-- | lib/psych/visitors/to_ruby.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/psych/visitors/to_ruby.rb b/lib/psych/visitors/to_ruby.rb index 3db67a3..2e082f9 100644 --- a/lib/psych/visitors/to_ruby.rb +++ b/lib/psych/visitors/to_ruby.rb @@ -285,7 +285,7 @@ module Psych o.init_with c elsif o.respond_to?(:yaml_initialize) if $VERBOSE - "Implementing #{o.class}#yaml_initialize is deprecated, please implement \"init_with(coder)\"" + warn "Implementing #{o.class}#yaml_initialize is deprecated, please implement \"init_with(coder)\"" end o.yaml_initialize c.tag, c.map else |