Is there a delay or pause function or anything of the like?
On Jan 20, 8:33 pm, Keith C. [email protected] wrote:
Is there a delay or pause function or anything of the like?
require ‘proc/wait3’
Process.pause
Doesn’t work on Windows.
Regards,
Dan
From: “Keith C.” [email protected]
Is there a delay or pause function or anything of the like?
sleep 1.5 # seconds
Regards,
Bill
Thread.sleep will probably do what you want.
–Jeremy
On Jan 20, 2008 10:33 PM, Keith C. [email protected] wrote:
Is there a delay or pause function or anything of the like?
Posted via http://www.ruby-forum.com/.
–
http://www.jeremymcanally.com/
My books:
Ruby in Practice
My free Ruby e-book
My blogs: