Skip to content

Instantly share code, notes, and snippets.

@phiggins phiggins/test_get.rb
Created May 17, 2010

Embed
What would you like to do?
require 'net/http'
require 'uri'
puts 'before' ; gets
Net::HTTP.get_response( URI("http://google.com") )
puts 'after' ; gets
GC.start
puts "after GC" ; gets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.