Created
November 2, 2012 00:12
-
-
Save rudle/3997779 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Kernel | |
alias_method :_exit, :exit | |
def exit(*args, &blk) | |
puts "EXIT CALLED BY #{caller.inspect} #{args.inspect}" | |
_exit(*args, &blk) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment