diff options
-rw-r--r-- | lib/net/http.rb | 5 |
1 files changed, 5 insertions, 0 deletions
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 |