Skip to content

Instantly share code, notes, and snippets.

@cowboy-cod3r
Created December 21, 2013 04:29
Show Gist options
  • Save cowboy-cod3r/8065435 to your computer and use it in GitHub Desktop.
Save cowboy-cod3r/8065435 to your computer and use it in GitHub Desktop.
Ruby: Exit Hook
# This will get executed upon exit of a ruby process
at_exit { puts "Hello Sean" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment