= private = protected
userinfo()
returns the userinfo, either as ‘user’ or ‘user:password’
# File lib/uri/generic.rb, line 563 def userinfo if @user.nil? nil elsif @password.nil? @user else @user + ':' + @password end end