Create a gist now

Instantly share code, notes, and snippets.

def this_method_kills_the_program
exit
end
begin
this_method_kills_the_program
rescue SystemExit
end
puts "Apparently I will never get called.. but I do!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment