Skip to content

Commit

Permalink
[DOC] Fix call-seq for Net::HTTP.start
Browse files Browse the repository at this point in the history
The lack of a newline between the call-seq and the documentation was
causing the documentation to be parsed as a call-seq.
  • Loading branch information
peterzhu2118 committed Dec 6, 2022
1 parent 09a9ea1 commit 1a212e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/net/http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#
Expand Down

0 comments on commit 1a212e2

Please sign in to comment.