Sha256: c5805ee4bf47c5703f2a2030f1be41bd4ea8601c33811b227bab1d6590bc391d
Contents?: true
Size: 656 Bytes
Versions: 6
Compression:
Stored size: 656 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. # # @since 2.4.0 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
6 entries across 6 versions & 1 rubygems