method

set_userinfo

v2_6_3 - Show latest stable - Class: URI::Generic
set_userinfo(user, password = nil)
protected

Protected setter for the user component, and password if available (with validation).

See also URI::Generic.userinfo=.