[ACCEPTED]-Ruby code to extract host from URL string-ruby