How would you parse a url in Ruby to get the main domain? How would you parse a url in Ruby to get the main domain? ruby ruby