Class: Whois::Parsers::WhoisTonicTo

Inherits:
Base
  • Object
show all
Defined in:
lib/whois/parsers/whois.tonic.to.rb

Overview

Parser for the whois.tonic.to server.

Instance Attribute Summary

Attributes inherited from Base

#part

Instance Method Summary collapse

Methods inherited from Base

#changed?, #contacts, #content, #initialize, #is, parse_time, property_not_implemented, property_not_supported, property_register, property_state, property_state?, property_supported, #property_supported?, #response_throttled?, #response_unavailable?, #unchanged?, #validate!

Constructor Details

This class inherits a constructor from Whois::Parsers::Base

Instance Method Details

#response_incomplete?Boolean

Very often the .to server returns a partial response, which is a response containing an empty line. It seems to be a very poorly-designed throttle mechanism.

Returns:

  • (Boolean)

See Also:



79
80
81
# File 'lib/whois/parsers/whois.tonic.to.rb', line 79

def response_incomplete?
  content_for_scanner.strip == ""
end