diff options
author | Michael Chui <saraid@users.noreply.github.com> | 2018-10-18 15:42:16 -0700 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-10-26 10:12:49 +0900 |
commit | 0164ce893f0a683a8555072ac594401a33990d40 (patch) | |
tree | 66ad37631275105143f99c5d073b91afe2ae36ef /lib/uri | |
parent | b5f6e2a7c4c5119d9518a51e37d94418ec8f55f6 (diff) |
add #to_str to URI::Generic
Diffstat (limited to 'lib/uri')
-rw-r--r-- | lib/uri/generic.rb | 1 |
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. |