secret
Created

  • Download Gist
gistfile1.rb
Ruby
1 2 3 4 5 6 7 8 9 10
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!"

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.