Skip to content

Commit 5c17cd2

Browse files
saraidhsbt
authored andcommitted
add #to_str to URI::Generic
1 parent f4999b6 commit 5c17cd2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/uri/generic.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1376,6 +1376,7 @@ def to_s
13761376
end
13771377
str
13781378
end
1379+
alias to_str to_s
13791380

13801381
#
13811382
# Compares two URIs.

0 commit comments

Comments
 (0)