Signal.trap( signal, command ) â objSignal.trap( signal ) {| | block } â obj
Instance Public methods
Specifies the handling of signals. The first parameter is a signal name (a
string such as âSIGALRM'', âSIGUSR1'', and so on) or a
signal number. The characters âSIG'' may be omitted from the signal
name. The command or block specifies code to be run when the signal is
raised. If the command is the string âIGNORE'' or
âSIG_IGN'', the signal will be ignored. If the command is
âDEFAUL