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