diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-08 04:12:39 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-08 04:12:39 +0000 |
commit | 3e9e4a6a96758a3bfbdf7054419a054f00c1d6b6 (patch) | |
tree | a066fb8d79b69b224c77a17ee8b4383d6736a261 /ChangeLog | |
parent | 38e89273ede48d5864bca9a9450dd2ab6bae85d9 (diff) | |
download | ruby-3e9e4a6a96758a3bfbdf7054419a054f00c1d6b6.tar.gz |
lib/timeout.rb: fallback to Timeout::Error
* lib/timeout.rb (Timeout::ExitException.catch): pass arguments
for new instance.
* lib/timeout.rb (Timeout::ExitException#exception): fallback to
Timeout::Error if couldn't throw. [ruby-dev:47872] [Bug #9380]
* lib/timeout.rb (Timeout#timeout): initialize ExitException with
message for the fallback case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,14 @@ +Wed Jan 8 13:12:41 2014 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * lib/timeout.rb (Timeout::ExitException.catch): pass arguments + for new instance. + + * lib/timeout.rb (Timeout::ExitException#exception): fallback to + Timeout::Error if couldn't throw. [ruby-dev:47872] [Bug #9380] + + * lib/timeout.rb (Timeout#timeout): initialize ExitException with + message for the fallback case. + Tue Jan 7 12:43:06 2014 Nobuyoshi Nakada <nobu@ruby-lang.org> * lib/timeout.rb (Timeout#timeout): should not rescue ordinarily |