mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 05:29:10 +02:00
parent
136dc52663
commit
3176cd6993
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue