Skip to content

Instantly share code, notes, and snippets.

@rudle
Created November 2, 2012 00:12
Show Gist options
  • Save rudle/3997779 to your computer and use it in GitHub Desktop.
Save rudle/3997779 to your computer and use it in GitHub Desktop.
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