diff options
Diffstat (limited to 'lib')
-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 ae3ac8c5ae..4ba07e7c5c 100644 --- a/lib/timeout.rb +++ b/lib/timeout.rb @@ -144,7 +144,7 @@ module Timeout # +sec+:: Number of seconds to wait for the block to terminate. Any non-negative number # or nil may be used, including Floats to specify fractional seconds. A # value of 0 or +nil+ will execute the block without any timeout. - # Any negative value will raise the ArgumentError + # Any negative number will raise an ArgumentError. # +klass+:: Exception Class to raise if the block fails to terminate # in +sec+ seconds. Omitting will use the default, Timeout::Error # +message+:: Error message to raise with Exception Class. |