On Fri, 13 Aug 2004 18:29:24 +0900, Mehr, Assaph (Assaph) wrote:

> > def self.trap(signal)
> >   Kernel::trap(signal){yield}
> >   Thread.new{loop{sleep 1}} # Stupid Windows...
> > end
> 
> Who is the self in this case? TCPServer?

I took it from a Module. Sorry. It has to be:

 def trap(signal)
   Kernel::trap(signal){yield} 
   Thread.new{loop{sleep 1}} # Stupid Windows...
 end
  
gegroet,
Erik V.