diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2020-03-10 22:36:48 -0700 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2020-03-10 22:36:48 -0700 |
commit | da6948753e8a48ac9fdc0c2f08856f51ab3d7959 (patch) | |
tree | 51736bdf49592df779be9f20a1578e4fa7f38e90 /lib/net/http.rb | |
parent | de4999ef238a57f7bb3b08b361b1f41dccefcce2 (diff) |
Fix an example committed to a wrong place [ci skip]
Diffstat (limited to 'lib/net/http.rb')
-rw-r--r-- | lib/net/http.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb index aac626e538..59b6d909bb 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -460,7 +460,7 @@ module Net #:nodoc: # # you can also specify request headers: # - # Net::HTTP.get_response(URI('http://www.example.com/index.html'), { 'Accept' => 'text/html' }) + # Net::HTTP.get(URI('http://www.example.com/index.html'), { 'Accept' => 'text/html' }) # def HTTP.get(uri_or_host, path_or_headers = nil, port = nil) get_response(uri_or_host, path_or_headers, port).body |