From 8369db4b3bf760a9a59822104966b78489ee8ada Mon Sep 17 00:00:00 2001 From: gsinclair Date: Fri, 28 Mar 2003 03:20:13 +0000 Subject: [PATCH] Added comment for Net::HTTP.get(arg1, arg2, arg3) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/net/http.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/net/http.rb b/lib/net/http.rb index 590b80ad9a..7d425b1870 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -611,6 +611,11 @@ module Net nil end + # + # Use as either of the following: + # Net::HTTP.get(uri) + # Net::HTTP.get(host, path [, port]) + # def HTTP.get( arg1, arg2 = nil, arg3 = nil ) get_response(arg1,arg2,arg3).body end