diff options
author | zverok <zverok.offline@gmail.com> | 2019-10-26 12:21:33 +0300 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2019-10-26 10:24:20 -0700 |
commit | 62212482947066d2cbf4dad6ebe60facf35ef223 (patch) | |
tree | 81ebda658d67742d3e60cc87b76111ea9c07b462 /lib/net/http/generic_request.rb | |
parent | f93cb6904c69de51bf14b1bcf9fcfc483584f4d3 (diff) | |
download | ruby-62212482947066d2cbf4dad6ebe60facf35ef223.tar.gz |
Improve Net::HTTP docs:
* Make links from Net::GenericHTTPRequest work;
* Document +dest+ param of HTTPResponse#read_body;
* Slightly improve reference to particular response
classes from HTTPResponse class docs.
Diffstat (limited to 'lib/net/http/generic_request.rb')
-rw-r--r-- | lib/net/http/generic_request.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/net/http/generic_request.rb b/lib/net/http/generic_request.rb index 3ff6d88f0c..003f59d0ac 100644 --- a/lib/net/http/generic_request.rb +++ b/lib/net/http/generic_request.rb @@ -1,8 +1,8 @@ # frozen_string_literal: false -# HTTPGenericRequest is the parent of the HTTPRequest class. -# Do not use this directly; use a subclass of HTTPRequest. +# HTTPGenericRequest is the parent of the Net::HTTPRequest class. +# Do not use this directly; use a subclass of Net::HTTPRequest. # -# Mixes in the HTTPHeader module to provide easier access to HTTP headers. +# Mixes in the Net::HTTPHeader module to provide easier access to HTTP headers. # class Net::HTTPGenericRequest |