method

signame

Importance_1
v2_2_9 - Show latest stable - 0 notes - Class: Signal
signame(p1) public

convert signal number to signal name

Signal.trap("INT") { |signo| puts Signal.signame(signo) }
Process.kill("INT", 0)

produces:

INT
Show source
Register or log in to add new notes.