るりまサーチ

最速Rubyリファレンスマニュアル検索!
33件ヒット [1-33件を表示] (0.094秒)
トップページ > クエリ:self[x] > クエリ:t[x] > ライブラリ:uri[x]

別のキーワード

  1. object yield_self
  2. _builtin yield_self
  3. _builtin self
  4. tracepoint self
  5. codeobject document_self

クラス

キーワード

検索結果

URI::Generic#component -> [Symbol] (6118.0)

self.class.component を返します。

...
self
.class.component を返します。

@see URI::Generic.component...

URI::Generic#default_port -> Integer | nil (6118.0)

self.class.default_port を返します。

...
self
.class.default_port を返します。

@see URI::Generic.default_port...

URI::Generic#coerce(oth) -> [URI, URI] (118.0)

引数 oth をパースして [パース後の oth, self] の配列を返します。

...数 oth をパースして [パース後の oth, self] の配列を返します。

@param oth URI オブジェクトか文字列を指定します。

例:

require 'uri'

uri
= URI.parse("http://my.example.com")
uri
.coerce("http://foo.com")
# => [#<URI::HTTP:0x00000000bcb028 URL:http://foo...
....com/>, #<URI::HTTP:0x00000000d92178 URL:http://my.example.com>]...