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(*args, &block) click to toggle source
 
               # File timeout.rb, line 124
def timeout(*args, &block)
  warn "Object##{__method__} is deprecated, use Timeout.timeout instead.", uplevel: 1
  Timeout.timeout(*args, &block)
end