Skip to content

Commit

Permalink
Merge pull request #746 from HoneyryderChuck/fix-uri-sigs
Browse files Browse the repository at this point in the history
allow uris to merge with anythig coercing to string
  • Loading branch information
soutaro committed Aug 18, 2021
2 parents fe1caee + e7ca2b3 commit 2511d1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stdlib/uri/0/generic.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ module URI
# uri.merge!("/main.rbx?page=1")
# uri.to_s # => "http://my.example.com/main.rbx?page=1"
#
def merge!: (String oth) -> String
def merge!: (string oth) -> String

#
# == Args
Expand All @@ -726,7 +726,7 @@ module URI
# uri.merge("/main.rbx?page=1")
# # => "http://my.example.com/main.rbx?page=1"
#
def merge: (String oth) -> URI::Generic
def merge: (string oth) -> URI::Generic

# :stopdoc:
def route_from_path: (String src, String dst) -> String
Expand Down

0 comments on commit 2511d1f

Please sign in to comment.