Skip to content

Commit 6c1ae14

Browse files
committed
Fix syntax error
1 parent e213a72 commit 6c1ae14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/psych/lib/psych/visitors/yaml_tree.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def self.new emitter = nil, ss = nil, options = nil
5151
return super if emitter && ss && options
5252

5353
if $VERBOSE
54-
warn "This API is deprecated, please pass an emitter, scalar scanner, and options or call #{class}.create() (#{caller.first})"
54+
warn "This API is deprecated, please pass an emitter, scalar scanner, and options or call #{self}.create() (#{caller.first})"
5555
end
5656
create emitter, ss
5757
end

0 commit comments

Comments
 (0)