From: nobu.nokada@... Date: 2001-12-15T11:07:51+09:00 Subject: [ruby-talk:28575] Re: Blocking exceptions At Sat, 15 Dec 2001 10:51:34 +0900, nobu.nokada@softhome.net wrote: > def ignore(exc) > yield > rescue exc > end Alternative. def Exception.ignored yield rescue self end trap(:SIGCHLD) do Errno::ECHILD.ignored do nil while (pid = Process.waitpid(-1, Process::WNOHANG)) end end Nobu Nakada