class Git::GitAltURI

def to_s

Returns:
  • (String) - the URI as a String
def to_s
  if user
    "#{user}@#{host}:#{path[1..-1]}"
  else
    "#{host}:#{path[1..-1]}"
  end
end