From 1a212e2065eed61c8879f9dc6b6a64ddbe85fca4 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Tue, 6 Dec 2022 09:25:10 -0500 Subject: [PATCH] [DOC] Fix call-seq for Net::HTTP.start The lack of a newline between the call-seq and the documentation was causing the documentation to be parsed as a call-seq. --- lib/net/http.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/net/http.rb b/lib/net/http.rb index 702d02ee..985a72f2 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -550,6 +550,7 @@ def HTTP.socket_type #:nodoc: obsolete # :call-seq: # HTTP.start(address, port, p_addr, p_port, p_user, p_pass) {|http| ... } # HTTP.start(address, port=nil, p_addr=:ENV, p_port=nil, p_user=nil, p_pass=nil, opt) {|http| ... } + # # Creates a new \Net::HTTP object, # opens a TCP connection and \HTTP session. #