We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e97225b commit 7dc7aabCopy full SHA for 7dc7aab
lib/timeout.rb
@@ -144,7 +144,7 @@ def self.ensure_timeout_thread_created
144
# +sec+:: Number of seconds to wait for the block to terminate. Any non-negative number
145
# or nil may be used, including Floats to specify fractional seconds. A
146
# value of 0 or +nil+ will execute the block without any timeout.
147
- # Any negative value will raise the ArgumentError
+ # Any negative number will raise an ArgumentError.
148
# +klass+:: Exception Class to raise if the block fails to terminate
149
# in +sec+ seconds. Omitting will use the default, Timeout::Error
150
# +message+:: Error message to raise with Exception Class.
0 commit comments