るりまサーチ (Ruby 2.7.0)

最速Rubyリファレンスマニュアル検索!
4件ヒット [1-4件を表示] (0.042秒)
トップページ > クエリ:-[x] > クエリ:password[x] > ライブラリ:uri[x] > クラス:URI::Generic[x] > バージョン:2.7.0[x]

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

キーワード

検索結果

URI::Generic#password -> String | nil (54661.0)

自身の password を文字列で返します。設定されていない場合は nil を返します。

自身の password を文字列で返します。設定されていない場合は nil を返します。

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

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

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

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

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

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

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

URI::Generic#userinfo=(s) (82.0)

自身の userinfo を設定します。

...字列の配列で指定します。

@raise URI::InvalidComponentError 不正な引数 s に対して発生します。

@raise URI::InvalidURIError userinfo と registry を同時に設定した場合に発生します。

例:
require 'uri'
u = URI.parse('http://example.com/')
u.userinfo =...