Return the domain.
# File lib/tinyatom/uri_domain.rb, line 9 def domain if host begin parsed = PublicSuffix.parse(host.downcase) "#{parsed.sld}.#{parsed.tld}" rescue Exception end end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.