1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/net/http.rb (Net::HTTP#initialize): initialize net/https variables to supress syntax warning.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
aamine 2008-08-12 05:18:22 +00:00
parent 3c1fca24e2
commit 08795f9ceb

View file

@ -486,6 +486,11 @@ module Net #:nodoc:
@enable_post_connection_check = true
@compression = nil
@sspi_enabled = false
if defined?(SSL_ATTRIBUTES)
SSL_ATTRIBUTES.each do |name|
instance_variable_set "@#{name}", nil
end
end
end
def inspect