Module: Timeout
- Defined in:
- lib/itimer/compat.rb
Defined Under Namespace
Classes: Error
Class Method Summary collapse
Class Method Details
.timeout(sec, klass = Error, &block) ⇒ Object
7 8 9 |
# File 'lib/itimer/compat.rb', line 7 def timeout(sec, klass=Error, &block) return Itimer.timeout(sec, klass, &block) end |