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/.