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 = nil, &block) ⇒ Object
Identical to:.
Instance Method Details
#timeout(n, e = nil, &block) ⇒ Object
Identical to:
Timeout::timeout(n, e, &block).
Defined for backwards compatibility with earlier versions of timeout.rb, see Timeout#timeout.
100 101 102 |
# File 'lib/timeout.rb', line 100 def timeout(n, e = nil, &block) # :nodoc: Timeout::timeout(n, e, &block) end |