lib/whois/domain/gov.rb in jm81-whois-0.5.0 vs lib/whois/domain/gov.rb in jm81-whois-0.6.0

- old
+ new

@@ -1,27 +1,27 @@ -# All I know how to get so far is domain name and status. -# There is a web interface at http://www.dotgov.gov/whois.aspx -# with more detail. -class Whois::Domain::Gov < Whois::Domain::Base - HOST = "whois.nic.gov" - ATTR_MATCH = /^([^:]+):\s(.*)\r$/ - responds_to :gov - - ATTR_NAMES = { - } - - def available? - @raw !~ /Domain Name:/ - end - - def register_url - "http://www.dotgov.gov/help_how.aspx" - end - - def name_servers - [] - end - - def ns - [] - end +# All I know how to get so far is domain name and status. +# There is a web interface at http://www.dotgov.gov/whois.aspx +# with more detail. +class Whois::Domain::Gov < Whois::Domain::Base + HOST = "whois.nic.gov" + ATTR_MATCH = /^([^:]+):\s(.*)\r$/ + responds_to :gov + + ATTR_NAMES = { + } + + def available? + @raw !~ /Domain Name:/ + end + + def register_url + "http://www.dotgov.gov/help_how.aspx" + end + + def name_servers + [] + end + + def ns + [] + end end \ No newline at end of file