summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authortenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-15 20:48:15 +0000
committertenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-15 20:48:15 +0000
commita1cc022e79d6d5ea2c7d8f80ad00d4a7dcff47e2 (patch)
tree43b13293e776a2a8ac7c9dfca07a7dd823613991 /ext
parente213a7228f88d83ecf8253ea1fb939c6f2384136 (diff)
* 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
Diffstat (limited to 'ext')
-rw-r--r--ext/psych/lib/psych/visitors/yaml_tree.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/psych/lib/psych/visitors/yaml_tree.rb b/ext/psych/lib/psych/visitors/yaml_tree.rb
index 701ed56d8b7..3f41f6b5ae9 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