join(*str)
Class Public methods
Synopsis
1 | URI : :join (str[, str, ...]) |
Args
-
str
-
String(s) to work with
Description
Joins URIs.
Usage
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | require 'uri' # => #<URI::HTTP:0x2022ac02 URL:http://localhost/main.rbx> # => #<URI::HTTP:0x01ab80a0 URL:http://example.com/foo> # => #<URI::HTTP:0x01aaf0b0 URL:http://example.com/bar> # => #<URI::HTTP:0x801a92af0 URL:http://example.com/bar> # => #<URI::HTTP:0x80135a3a0 URL:http://example.com/foo/bar> |
Please login to continue.