class Whois::Parsers::WhoisUa

Parser for the whois.ua server.

Private Instance Methods

subparser() click to toggle source
# File lib/whois/parsers/whois.ua.rb, line 226
def subparser
  @subparser ||= begin
    source = content_for_scanner.slice(/source:\s+(.+)\n/, 1)
    if source == "UANIC"
      Uanic.new(self, content_for_scanner)
    else
      Uaepp.new(self, content_for_scanner)
    end
  end
end