るりまサーチ

最速Rubyリファレンスマニュアル検索!
24件ヒット [1-24件を表示] (0.105秒)
トップページ > 種類:インスタンスメソッド[x] > クエリ:p[x] > クエリ:component[x] > クラス:URI::Generic[x]

別のキーワード

  1. openssl p
  2. openssl p=
  3. fileutils mkdir_p
  4. kernel p
  5. kernel $-p

ライブラリ

検索結果

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

self.class.component を返します。

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

@see URI::Generic.component...

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

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

...された 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"]...