[ruby/psych] fix error in @dispatch_catch

https://github.com/ruby/psych/commit/9df5501fdc
This commit is contained in:
Sam Rawlins 2014-04-01 14:20:13 -07:00 committed by git
parent 136dc52663
commit 3176cd6993

View File

@ -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