On Mon, Sep 25, 2006 at 10:55:19AM +0900, Michael P. Soulier wrote:
> Hello,
> 
> I see that there is a Signal class in the core for catching signals. Where
> would the alarm system call be, for setting a SIGALRM? I can't seem to find
> it.
> 
% cat alarm.rb
trap("ALRM") do
  puts "Alarm!"
end

Process.kill("ALRM", $$)


% ruby alarm.rb
Alarm!

HTH.