Skip to content

Commit

Permalink
updated doc string
Browse files Browse the repository at this point in the history
Co-authored-by: Jeremy Evans <[email protected]>
  • Loading branch information
Cosmicoppai and jeremyevans authored Nov 18, 2024
1 parent c6d121a commit 4be6423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/timeout.rb
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def self.ensure_timeout_thread_created
# +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.
Expand Down

0 comments on commit 4be6423

Please sign in to comment.