summaryrefslogtreecommitdiff
path: root/lib/net/http.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/net/http.rb')
-rw-r--r--lib/net/http.rb15
1 files changed, 2 insertions, 13 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb
index 2b18a8e930..d925470171 100644
--- a/lib/net/http.rb
+++ b/lib/net/http.rb
@@ -284,9 +284,10 @@ module Net
class << self
def create_proxy_class( p_addr, p_port )
+ mod = self
klass = Class.new( HTTP )
klass.module_eval {
- include HTTPProxy
+ include mod
@proxy_address = p_addr
@proxy_port = p_port
}
@@ -1035,18 +1036,6 @@ module Net
end
- class Dummy
-
- def initialize( *args )
- end
-
- def critical?
- false
- end
-
- end
-
-
end # module Net::NetPrivate
end # module Net