instance method URI::Generic#user

user -> String | nil[permalink][rdoc][edit]

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

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