In Files

  • timeout.rb

Parent

Namespace

Methods

Class/Module Index [+]

Quicksearch

Object

Constants

TimeoutError

Raised by Timeout#timeout when the block times out.

Public Instance Methods

timeout(n, e = nil, &block) click to toggle source

Identical to:

Timeout::timeout(n, e, &block).

Defined for backwards compatibility with earlier versions of timeout.rb, see Timeout#timeout.

 
               # File timeout.rb, line 88
def timeout(n, e = nil, &block)
  Timeout::timeout(n, e, &block)
end