diff options
| author | Sam Rawlins <sam.rawlins@gmail.com> | 2014-04-01 14:20:13 -0700 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2025-05-01 17:54:18 +0000 |
| commit | 3176cd699359e5dc276f15452dc5ed828b58c628 (patch) | |
| tree | 72aa17281e7ead3dda61f6ed29e69df17c8231bb | |
| parent | 136dc52663b3e3a1a6c4efd3c4621ea2a7aacd17 (diff) | |
[ruby/psych] fix error in @dispatch_catch
https://github.com/ruby/psych/commit/9df5501fdc
| -rw-r--r-- | ext/psych/lib/psych/visitors/yaml_tree.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/psych/lib/psych/visitors/yaml_tree.rb b/ext/psych/lib/psych/visitors/yaml_tree.rb index 2229655b78..d7958a8431 100644 --- a/ext/psych/lib/psych/visitors/yaml_tree.rb +++ b/ext/psych/lib/psych/visitors/yaml_tree.rb @@ -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 |
