Sha256: 1eaf94bba3458c328efaf18fef30a8c82924aa276b7aa05477f9195a4d357683
Contents?: true
Size: 655 Bytes
Versions: 5
Compression:
Stored size: 655 Bytes
Contents
#-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # # Copyright (c) 2009-2012 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
5 entries across 5 versions & 1 rubygems