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:
parent
576f18654d
commit
8369db4b3b
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue