Skip to content

Instantly share code, notes, and snippets.

@MichaelCPell
Created February 5, 2015 22:49
Show Gist options
  • Save MichaelCPell/77a0b53401e8db084a50 to your computer and use it in GitHub Desktop.
Save MichaelCPell/77a0b53401e8db084a50 to your computer and use it in GitHub Desktop.
var = nil
counter = 0
while(var==nil) do
counter = counter + 1
puts counter
var = true if counter >= 5
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment