Report question

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