Skip to content

Commit 7dc7aab

Browse files
Cosmicoppaijeremyevans
authored andcommitted
[ruby/timeout] updated doc string
ruby/timeout@4be6423de4 Co-authored-by: Jeremy Evans <[email protected]>
1 parent e97225b commit 7dc7aab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/timeout.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def self.ensure_timeout_thread_created
144144
# +sec+:: Number of seconds to wait for the block to terminate. Any non-negative number
145145
# or nil may be used, including Floats to specify fractional seconds. A
146146
# value of 0 or +nil+ will execute the block without any timeout.
147-
# Any negative value will raise the ArgumentError
147+
# Any negative number will raise an ArgumentError.
148148
# +klass+:: Exception Class to raise if the block fails to terminate
149149
# in +sec+ seconds. Omitting will use the default, Timeout::Error
150150
# +message+:: Error message to raise with Exception Class.

0 commit comments

Comments
 (0)