るりまサーチ

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

別のキーワード

  1. tsort each_strongly_connected_component
  2. tsort each_strongly_connected_component_from
  3. uri component
  4. matrix component
  5. generic component

クラス

検索結果

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

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

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

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

例:
require 'uri'

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