From: Lloyd Zusman Date: 2001-04-09T03:10:05+09:00 Subject: [ruby-talk:13562] Re: Asking ruby to provide valid list of signals. matz@zetabits.com (Yukihiro Matsumoto) writes: > Hi, > > In message "[ruby-talk:13450] Asking ruby to provide valid list of signals." > on 01/04/03, Lloyd Zusman 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. This sounds very good to me. Thank you for considering my request. -- Lloyd Zusman ljz@asfast.com