るりまサーチ

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

別のキーワード

  1. etc sc_xopen_enh_i18n
  2. rsa n=
  3. rsa n
  4. openssl n=
  5. openssl n

ライブラリ

検索結果

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

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

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

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

例:
require 'uri'

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