From: Dave Thomas Date: 2001-04-03T21:41:19+09:00 Subject: [ruby-talk:13459] Re: Asking ruby to provide valid list of signals. matz@zetabits.com (Yukihiro Matsumoto) writes: > |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. Or... Perhaps it's time for a SysDep or Environment module, which can be queried to determine the facilities available on a particular platform SysDep::signalList -> Array SysDep::can(:popen) -> true, false, or nil \ \___ not available \ \___________ partly available SysDep::MAX_OPEN_FILES and so on.... Dave