Class: Object (Ruby 2.3.4)

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