aboutsummaryrefslogtreecommitdiffstats
path: root/lib/uri/common.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/uri/common.rb')
-rw-r--r--lib/uri/common.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/uri/common.rb b/lib/uri/common.rb
index ed2f6a7a5b..6f2fa81ad2 100644
--- a/lib/uri/common.rb
+++ b/lib/uri/common.rb
@@ -378,6 +378,19 @@ module URI
=begin
+--- URI::join(str[, str, ...])
+
+=end
+ def self.join(*str)
+ u = self.parse(str[0])
+ str[1 .. -1].each do |x|
+ u = u.merge(x)
+ end
+ u
+ end
+
+=begin
+
--- URI::extract(str[, schemes])
=end