Skip to content

Commit 9228a13

Browse files
y-yagimatzbot
authored andcommitted
[ruby/uri] Use PARSER instead of DEFAULT_PARSER in URI.join
I changed to use `PARSER` instead of `DEFAULT_PARSER` with #161, but I missed to fix `URi.join`. This PR fixes it. ruby/uri@85e1499b2c
1 parent 2fc3013 commit 9228a13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/uri/common.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def self.parse(uri)
271271
# # => #<URI::HTTP http://example.com/foo/bar>
272272
#
273273
def self.join(*str)
274-
DEFAULT_PARSER.join(*str)
274+
PARSER.join(*str)
275275
end
276276

277277
#

0 commit comments

Comments
 (0)