A very simple wrapper over Signal#trap method that allows you to easily protect your scripts from being killed while they are doing something that should not be interrupted (e.g. interacting with some non-transactional service) or is too costly to restart (e.g. long computations).
Required Ruby Version
None
Authors
Przemyslaw Kowalczyk
Versions
-
0.4.0
-
source
- 0.4.0 source January 31, 2010 (12.5 KB)
-
-
0.3.0
-
source
- 0.3.0 source January 14, 2010 (12 KB)
-
-
0.2.0
-
source
- 0.2.0 source January 08, 2010 (11 KB)
-
-
0.1.2
-
source
- 0.1.2 source January 07, 2010 (10.5 KB)
-
-
0.1.1
-
source
- 0.1.1 source January 04, 2010 (10 KB)
-