[ruby/psych] fix error in @dispatch_catch
https://github.com/ruby/psych/commit/9df5501fdc
This commit is contained in:
parent
136dc52663
commit
3176cd6993
@ -73,7 +73,7 @@ module Psych
|
||||
|
||||
method = respond_to?(method) ? method : h[klass.superclass]
|
||||
|
||||
raise(TypeError, "Can't dump #{target.class}") unless method
|
||||
raise(TypeError, "can't dump #{klass.name}") unless method
|
||||
|
||||
h[klass] = method
|
||||
end.compare_by_identity
|
||||
|
Loading…
x
Reference in New Issue
Block a user