runtime/signal_zero.rb

tests/_examples/runtime/signal_zero.rb in the metorex repository.

# Process.kill with signal 0 checks that a process can be signaled.
p(Process.kill(0, Process.pid))

Output:

1