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 119
def timeout(*args, &block)
  warn "#{caller_locations(1, 1)[0]}: Object##{__method__} is deprecated, use Timeout.timeout instead."
  Timeout.timeout(*args, &block)
end