method
set_userinfo
set_userinfo(user, password = nil)
protected
Hide source
# File lib/uri/generic.rb, line 322 def set_userinfo(user, password = nil) unless password user, password = split_userinfo(user) end @user = user @password = password if password [@user, @password] end