module Timeout

Public Class Methods

timeout(sec, klass=Error, &block) click to toggle source
# File lib/itimer/compat.rb, line 7
def timeout(sec, klass=Error, &block)
  return Itimer.timeout(sec, klass, &block)
end

Private Instance Methods

timeout(sec, klass=Error, &block) click to toggle source
# File lib/itimer/compat.rb, line 7
def timeout(sec, klass=Error, &block)
  return Itimer.timeout(sec, klass, &block)
end