Extended maintenance of Ruby 1.9.3 ended on February 23, 2015. Read more
Raised by Timeout#timeout when the block times out.
Identical to:
Timeout::timeout(n, e, &block).
This method is deprecated and provided only for backwards compatibility. You should use Timeout#timeout instead.
# File timeout.rb, line 99
def timeout(n, e = nil, &block)
Timeout::timeout(n, e, &block)
end