Top Level Namespace
Defined Under Namespace
Modules: Timeout
Constant Summary collapse
- TimeoutError =
Another name for Timeout::Error, defined for backwards compatibility with earlier versions of timeout.rb.
Timeout::Error
Instance Method Summary collapse
-
#timeout(n, e = Timeout::Error, &block) ⇒ Object
Identical to:.
Instance Method Details
#timeout(n, e = Timeout::Error, &block) ⇒ Object
Identical to:
Timeout::timeout(n, e, &block).
Defined for backwards compatibility with earlier versions of timeout.rb, see Timeout#timeout.
75 76 77 |
# File 'lib/timeout.rb', line 75 def timeout(n, e=Timeout::Error, &block) # :nodoc: Timeout::timeout(n, e, &block) end |