Is there a wait instruction in ruby?

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-

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