Skip to content

Instantly share code, notes, and snippets.

@dangerousbeans
Created June 15, 2015 02:42
Show Gist options
  • Save dangerousbeans/489f955df9199901a5c6 to your computer and use it in GitHub Desktop.
Save dangerousbeans/489f955df9199901a5c6 to your computer and use it in GitHub Desktop.
WorstLoop
INDEX = 0
begin
while true do
INDEX = INDEX + 1
puts "DERP"
raise Exception if INDEX > 10
end
catch Exception => e
raise "ALL DONE"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment