Is there a wait instruction in ruby?


#1

Is there a wait instruction in Ruby? I could build one using Time
variables but I was wondering if there was one already available. Could
not find it in the doc.

T-


#2

Tony Shawn wrote:

Is there a wait instruction in Ruby? I could build one using Time
variables but I was wondering if there was one already available. Could
not find it in the doc.

T-

I believe it’s sleep(duration).

Jeff