method

userinfo=

ruby latest stable - Class: URI::Generic
userinfo=(userinfo)
public

Sets userinfo, argument is string like ‘name:pass’