Sha256: e194473f55b478dab603ea3a7483d49dfc5d18bf715be43c2347e1bb5c42af51
Contents?: true
Size: 626 Bytes
Versions: 7
Compression:
Stored size: 626 Bytes
Contents
#-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # # Copyright (c) 2009-2013 Simone Carletti <weppos@weppos.net> #++ require 'whois/record/scanners/base' module Whois class Record module Scanners # Scanner for the whois.dns.hr record. class WhoisDnsHr < Base self.tokenizers += [ :skip_empty_line, :scan_available, :scan_keyvalue, ] tokenizer :scan_available do if @input.skip(/^%ERROR: no entries found\n/) @ast["status:available"] = true end end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems