Extra Credit

public_suffix

PublicSuffix can parse and decompose a domain name into top level domain, domain and subdomains.

$gem install public_suffix

Official docs outline

Extra Credit builds an outline of public_suffix's docs the first time your work uses it. Until then, start at the official documentation.

All 3,925