Is it possible to somehow retrieve the names of all the signals that
Kernel.trap responds to, solely by querying the Kernel module in some
way?
Under Unix-like systems, I know that I can do this:
`kill -l`.split(' ')
.. in order to get an array of signal names, but what I'm looking for
is a way to get such an array *without* running any external operating
system commands. Clearly, the Kernal.trap method knows which signal
names are valid and which ones aren't, so I know that this information
resides *somewhere* within the ruby runtime environment.
Any ideas?
Thanks in advance.
--
Lloyd Zusman
ljz / asfast.com