るりまサーチ

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

別のキーワード

  1. _builtin to_r
  2. open3 pipeline_r
  3. matrix elements_to_r
  4. bigdecimal to_r
  5. fileutils rm_r

ライブラリ

検索結果

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

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

...mponents に対応する構成要素を文字列の配列として返します。

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

例:
r
equire '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"]...