runtime/signal_zero_no_parens.rb

tests/_examples/runtime/signal_zero_no_parens.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