るりまサーチ

最速Rubyリファレンスマニュアル検索!
22件ヒット [1-22件を表示] (0.110秒)

別のキーワード

  1. uri build
  2. uri extract
  3. uri new
  4. open-uri open
  5. uri regexp

ライブラリ

クラス

検索結果

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

self.class.component を返します。

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

@see URI::Generic.component...

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

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

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

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

例:
require 'uri'

uri
= URI.parse('http://myuser:mypass@my.example.com/test.rbx')
p uri.select(:userinfo, :host, :pat...