diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2022-05-23 18:45:39 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-05-23 20:51:17 +0900 |
commit | 663915ddf414e5a4dcb9f981449c1f9f79f1eada (patch) | |
tree | 7ed4ce00c11a0d8448fb7d90e9fd1219ad99560b /main.c | |
parent | 4cf155e0075849bfd7e3f731b3432e274ab09629 (diff) | |
download | ruby-663915ddf414e5a4dcb9f981449c1f9f79f1eada.tar.gz |
[rubygems/rubygems] Support the change of did_you_mean about Exception#detailed_message
I am asking did_you_mean to use Exception#detailed_message to add
"Did you mean?" suggestion instead of overriding #message method.
https://github.com/ruby/did_you_mean/pull/177
Unfortunately, the change will affect Gem::UnknownCommandError, which
excepts did_you_mean to override #message method.
This PR absorbs the change of did_you_mean.
Gem::CommandManager now calls #detailed_message method to get a message
string with "Did you mean?" suggestion from an exception.
https://github.com/rubygems/rubygems/commit/8f104228d3
Diffstat (limited to 'main.c')
0 files changed, 0 insertions, 0 deletions