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 January 31, 2010 (12.5 KB)
- 0.3.0 January 14, 2010 (12 KB)
- 0.2.0 January 08, 2010 (11 KB)
- 0.1.2 January 07, 2010 (10.5 KB)
- 0.1.1 January 04, 2010 (10 KB)