diff options
Diffstat (limited to 'lib/timeout.rb')
-rw-r--r-- | lib/timeout.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/timeout.rb b/lib/timeout.rb index 4659ec3279..6e7adbd259 100644 --- a/lib/timeout.rb +++ b/lib/timeout.rb @@ -77,7 +77,7 @@ module Timeout end def expired?(now) - now >= @deadline and !done? + now >= @deadline end def interrupt |