method
split_userinfo
split_userinfo(ui)
private
Hide source
# File lib/uri/generic.rb, line 357 def split_userinfo(ui) return nil, nil unless ui user, password = ui.split(/:/, 2) return user, password end