102件ヒット
[101-102件を表示]
(0.083秒)
別のキーワード
ライブラリ
- ビルトイン (18)
- monitor (12)
-
net
/ imap (12) -
rdoc
/ code _ object (24) -
rdoc
/ context (12) - uri (24)
クラス
- Array (6)
-
MonitorMixin
:: ConditionVariable (12) -
Net
:: IMAP :: FetchData (12) -
RDoc
:: CodeObject (24) -
RDoc
:: Context :: Section (12) -
URI
:: Generic (24)
モジュール
- Enumerable (12)
検索結果
-
URI
:: Generic # merge(rel) -> URI :: Generic (43.0) -
自身と与えられたパス rel を連結した新しい URI オブジェクトを生成して返します。
...自身と与えられたパス rel を連結した新しい URI オブジェクトを生成して返します。
3986 の Section 5.2 の仕様に従います。
rel が文字列の場合は URI.parse(rel) によって、URI に変換してから連結します。
@param rel 連結したいパ......'/foo/bar.html'
#=> #<URI::HTTP:0x201001c0 URL:http://example.com/foo/bar.html>
URI('http://a/b/c/d;p?q').merge('?y') #=> #<URI::HTTP:0xb7ca2e2c URL:http://a/b/c/d;p?y>
URI('http://a/b/c/d;p?q').merge('/./g') #=> #<URI::HTTP:0xb7ca2738 URL:http://a/g>
URI('http://a/b/c/d;......p?q').merge('/../g') #=> #<URI::HTTP:0xb7ca2008 URL:http://a/g>
URI('http://a/b/c/d;p?q').merge('../../../g') #=> #<URI::HTTP:0xb7ca1888 URL:http://a/g>
URI('http://a/b/c/d;p?q').merge('../../../../g') #=> #<URI::HTTP:0xb7ca10a4 URL:http://a/g>...