Sha256: 731822a67a708a6dcadd0a0a7d489507ba6f2c18a45a1b8ff072bcd8d5c1df59
Contents?: true
Size: 584 Bytes
Versions: 5
Compression:
Stored size: 584 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 class WhoisYoursrsCom < Base self.tokenizers += [ :skip_empty_line, :scan_available, :scan_keyvalue, ] tokenizer :scan_available do if @input.scan(/^No match for [\w\.]+\.\n/) @ast["status:available"] = true end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems