method

set_userinfo

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

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

see also URI::Generic.userinfo=