timeout-interrupt ================= Works like ruby's timeout, but interrupts *every call*, also syscalls, which blocks the hole ruby-process. It uses POSIX's alarm and traps ALRM-signals. Known limitations bacause of alarm and ALRM are, that you can not use alarm or trap ALRM in the same time. Scopes ====== If you need scopes with inner and outer time outs, you should know: The first timed out Timeout will be raised: include TimeoutInterrupt timeout(1) { # Will be raised timeout(10) { sleep 2 } # Will not be raised } If you want to know, which was raised, you need custom exceptions: class CustomErrorWillBeRaised