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

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
This commit is contained in:
gsinclair 2003-03-28 03:20:13 +00:00
parent 576f18654d
commit 8369db4b3b

View file

@ -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