= private = protected
split_userinfo(ui)
returns the userinfo ui as user, password if properly formated as ‘user:password’
# File lib/uri/generic.rb, line 555 def split_userinfo(ui) return nil, nil unless ui user, password = ui.split(/:/, 2) return user, password end