Hi,
In message "[ruby-talk:13450] Asking ruby to provide valid list of signals."
on 01/04/03, Lloyd Zusman <ljz / asfast.com> writes:
|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?
Not now. It's pretty easy to implement it, I think. We have to
design the API first. Probably new RCR is sufficient.
|Any ideas?
For example, how about the following?
(1) introduce Signal module.
(2) move trap to Signal::trap
(3) add Signal::list to list signal names.
or Signal::names might be good too.
matz.