るりまサーチ

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

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. t61string new
  4. matrix t
  5. fiddle type_size_t

ライブラリ

クラス

キーワード

検索結果

URI::Generic#userinfo -> String | nil (18218.0)

自身の userinfo を "username:password" という形式の文字列で返します。 設定されていない場合は nil を返します。

...自身の userinfo を "username:password" という形式の文字列で返します。
設定されていない場合は nil を返します。...

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

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

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

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

例:
require 'uri'

uri = URI.parse('http://myuser:mypass@my.example.com/test.rbx')
p uri.select(:userinfo, :host, :path)
# => ["m...
...yuser:mypass", "my.example.com", "/test.rbx"]...

URI::Generic#user -> String | nil (123.0)

自身の userinfo を文字列で返します。

...自身の userinfo を文字列で返します。

userinfo
が「username:password」の形式である場合は、username 部を返します。
設定されていない場合は nil を返します。...