From da6948753e8a48ac9fdc0c2f08856f51ab3d7959 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Tue, 10 Mar 2020 22:36:48 -0700 Subject: Fix an example committed to a wrong place [ci skip] --- lib/net/http.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/net') 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 -- cgit v1.2.3