Parent

Methods

Validator::Domain::Tld

The purpose of this class is to provide user with current list of available top level domain names including new ICANN additions and ccTLDs Currently TLD definitions have been acquired from the following sources:

http://www.icann.org/tlds/
http://www.dnso.org/constituency/gtld/gtld.html
http://www.iana.org/cctld/cctld-whois.htm
http://data.iana.org/TLD/tlds-alpha-by-domain.txt

Constants

TLD

Public Class Methods

exists?(tld) click to toggle source
# File lib/validator/domain/tld.rb, line 15
def self.exists?(tld)
  TLD.include?(tld)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.