How do you tell a Ruby program to wait an arbitrary amount of time before moving on to the next line of code?
I find until very useful with sleep. example:
until
> time = Time.now > sleep 2.seconds until Time.now > time + 10.seconds # breaks when true