Created
August 8, 2012 12:07
-
-
Save jonasmaturana/3294638 to your computer and use it in GitHub Desktop.
Kill test server at exit
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
at_exit do | |
require 'net/http' | |
Net::HTTP.get(URI.parse("http://localhost:34777/kill")) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment