Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b445fc commit 683fdb4Copy full SHA for 683fdb4
lib/timeout.rb
@@ -4,7 +4,7 @@
4
# == Synopsis
5
#
6
# require 'timeout'
7
-# status = Timeout::timeout(5) {
+# status = Timeout.timeout(5) {
8
# # Something that should be interrupted if it takes more than 5 seconds...
9
# }
10
@@ -13,10 +13,6 @@
13
# Timeout provides a way to auto-terminate a potentially long-running
14
# operation if it hasn't finished in a fixed amount of time.
15
16
-# Previous versions didn't use a module for namespacing, however
17
-# #timeout is provided for backwards compatibility. You
18
-# should prefer Timeout.timeout instead.
19
-#
20
# == Copyright
21
22
# Copyright:: (C) 2000 Network Applied Communication Laboratory, Inc.
0 commit comments