From: Daniel Harple Date: 2006-03-11T23:28:08+09:00 Subject: Re: delay On Mar 11, 2006, at 3:25 PM, TURK wrote: > 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/. > Use Kernel#sleep -- Daniel