diff options
author | Jeremy Evans <[email protected]> | 2021-04-20 10:34:11 -0700 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2021-05-06 16:49:26 +0900 |
commit | 33b5e179a88e67f1ee12e2e8993121b2f445b54f (patch) | |
tree | 1fb74a99fbe9c9b57280ac224dcef17e34346738 /lib/bundler/errors.rb | |
parent | a42b7de436cfceb0d6607651a3a7bf4fbd887416 (diff) |
[ruby/timeout] Make Timeout::Error#exception with multiple arguments not ignore arguments
This makes:
raise(Timeout::Error.new("hello"), "world")
raise a TimeoutError instance with "world" as the message instead
of "hello", for consistency with other Ruby exception classes.
This required some internal changes to keep the tests passing.
Fixes [Bug #17812]
https://github.com/ruby/timeout/commit/952154dbf9
Diffstat (limited to 'lib/bundler/errors.rb')
0 files changed, 0 insertions, 0 deletions