Parsing an URL with Ruby

Can not be easier than this…