diff options
Diffstat (limited to 'sample')
-rw-r--r-- | sample/timeout.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/timeout.rb b/sample/timeout.rb index 2870ddb239..8d25d72a76 100644 --- a/sample/timeout.rb +++ b/sample/timeout.rb @@ -8,7 +8,7 @@ end p timeout(5) { 45 } -p timeout(5, TimeoutError) { +p timeout(5, Timeout::Error) { 45 } p timeout(nil) { |