summaryrefslogtreecommitdiff
path: root/lib/uri/generic.rb
diff options
context:
space:
mode:
authorMichael Chui <saraid@users.noreply.github.com>2018-10-18 15:42:16 -0700
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-10-26 10:12:49 +0900
commit0164ce893f0a683a8555072ac594401a33990d40 (patch)
tree66ad37631275105143f99c5d073b91afe2ae36ef /lib/uri/generic.rb
parentb5f6e2a7c4c5119d9518a51e37d94418ec8f55f6 (diff)
add #to_str to URI::Generic
Diffstat (limited to 'lib/uri/generic.rb')
-rw-r--r--lib/uri/generic.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/uri/generic.rb b/lib/uri/generic.rb
index 69698c4e2d..f3540a24bb 100644
--- a/lib/uri/generic.rb
+++ b/lib/uri/generic.rb
@@ -1376,6 +1376,7 @@ module URI
end
str
end
+ alias to_str to_s
#
# Compares two URIs.