There was an error while loading. Please reload this page.
1 parent e213a72 commit 6c1ae14Copy full SHA for 6c1ae14
ext/psych/lib/psych/visitors/yaml_tree.rb
@@ -51,7 +51,7 @@ def self.new emitter = nil, ss = nil, options = nil
51
return super if emitter && ss && options
52
53
if $VERBOSE
54
- 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})"
55
end
56
create emitter, ss
57
0 commit comments