From: Joel VanderWerf Date: 2008-10-21T06:34:37+09:00 Subject: Re: timer angico wrote: > Hi, All. > > Can anybody tell me how to implement kind of a timer in Ruby, similar to > the following one from Java? > > timer = new Timer( 200, handler ); // call handler each 200 milliseconds This is what I use: http://redshift.sourceforge.net/timer/timer.rb It's pretty simple, and it corrects for the time taken by the handler. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407