From a1cc022e79d6d5ea2c7d8f80ad00d4a7dcff47e2 Mon Sep 17 00:00:00 2001 From: tenderlove Date: Wed, 15 May 2013 20:48:15 +0000 Subject: * ext/psych/lib/psych/visitors/yaml_tree.rb: fix syntax error. Thanks @spastorino! [ruby-core:55011] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/psych/lib/psych/visitors/yaml_tree.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/psych/lib/psych/visitors') diff --git a/ext/psych/lib/psych/visitors/yaml_tree.rb b/ext/psych/lib/psych/visitors/yaml_tree.rb index 701ed56d8b..3f41f6b5ae 100644 --- a/ext/psych/lib/psych/visitors/yaml_tree.rb +++ b/ext/psych/lib/psych/visitors/yaml_tree.rb @@ -51,7 +51,7 @@ module Psych return super if emitter && ss && options if $VERBOSE - warn "This API is deprecated, please pass an emitter, scalar scanner, and options or call #{class}.create() (#{caller.first})" + warn "This API is deprecated, please pass an emitter, scalar scanner, and options or call #{self}.create() (#{caller.first})" end create emitter, ss end -- cgit v1.2.3