Create a gist now

Instantly share code, notes, and snippets.

a ruby timer
timer = Proc.new do
|time, deadline|
time = Time.now
deadline = time + 5
while time != deadline
time = Time.now
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment