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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs