Skip to content

Instantly share code, notes, and snippets.

@dolzenko
Created March 24, 2014 10:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dolzenko/9737969 to your computer and use it in GitHub Desktop.
Save dolzenko/9737969 to your computer and use it in GitHub Desktop.
module Net
class HTTP
alias_method '__initialize__', 'initialize'
def initialize(*args,&block)
__initialize__(*args, &block)
ensure
@debug_output = $stderr ### if ENV['HTTP_DEBUG']
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment