diff options
author | Cosmic Oppai <[email protected]> | 2024-11-18 15:35:47 +0530 |
---|---|---|
committer | git <[email protected]> | 2024-12-03 06:49:56 +0000 |
commit | 7dc7aab4e9496b131f6355808bde1369dc7f1ab2 (patch) | |
tree | e96ac983873268fd0010238b9be2b399106909bf /lib | |
parent | e97225b18258dc81f38e0500ca819fec4791308a (diff) |
[ruby/timeout] updated doc string
https://github.com/ruby/timeout/commit/4be6423de4
Co-authored-by: Jeremy Evans <[email protected]>
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. |