Subject: delay
From: TURK <huseyinpolat gmail.com>
Date: Sat, 11 Mar 2006 23:25:27 +0900
HI masters,
I want to create a loop say :
while (i>=0)
// do something
Now hang for two seconds for next iteration
i-=i
}
How would you hang the process in ruby for a certain time?
thank you
--
Posted via http://www.ruby-forum.com/.