Sha256: 3bcb069c5f637285bdf2eeb76c7c63ced57bfd3fe8dbba8a5db194ceaa8cb5ba
Contents?: true
Size: 655 Bytes
Versions: 7
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.registry.qa record. # # @since 2.1.0 class WhoisRegistryQa < Base self.tokenizers += [ :skip_empty_line, :scan_available, :scan_keyvalue, ] tokenizer :scan_available do if @input.scan(/^No Data Found\n/) @ast["status:available"] = true end end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems