るりまサーチ (Ruby 2.3.0)

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

別のキーワード

  1. generic component
  2. generic default_port
  3. generic build
  4. generic build2
  5. generic fragment

クラス

キーワード

検索結果

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

self.class.component を返します。

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

@see URI::Generic.component...

URI::Generic.component -> [Symbol] (63364.0)

URI の構成要素を表すシンボルの配列を返します。

...
URI
の構成要素を表すシンボルの配列を返します。

require 'uri'
p URI::Generic.component
p URI::MailTo.component

# => [:scheme, :userinfo, :host, :port, :registry, :path, :opaque, :query, :fragment]
# => [:scheme, :to, :headers]...

URI::Generic::COMPONENT -> [Symbol] (27358.0)

URI::Generic で利用可能なコンポーネントの一覧です。

...
URI
::Generic で利用可能なコンポーネントの一覧です。...

URI::Generic#select(*components) -> [String] (9307.0)

指定された components に対応する構成要素を文字列の配列として返します。

...字列の配列として返します。

@param components 構成要素名をシンボルで指定します。

例:
require 'uri'

uri
= URI.parse('http://myuser:mypass@my.example.com/test.rbx')
p uri.select(:userinfo, :host, :path)
# => ["myuser:mypass", "my.example.com", "/test.rbx"]...