diff options
| author | Jeremy Evans <code@jeremyevans.net> | 2021-04-20 10:34:11 -0700 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-05-06 16:49:26 +0900 |
| commit | 33b5e179a88e67f1ee12e2e8993121b2f445b54f (patch) | |
| tree | 1fb74a99fbe9c9b57280ac224dcef17e34346738 /lib/net/https.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/net/https.rb')
0 files changed, 0 insertions, 0 deletions
