[ruby/net-http] [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.

https://github.com/ruby/net-http/commit/1a212e2065
This commit is contained in:
Peter Zhu 2022-12-06 09:25:10 -05:00 committed by git
parent 14074567ea
commit 9d4483f24d

View File

@ -550,6 +550,7 @@ module Net #:nodoc:
# :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.
#