Sha256: 3c092c4f21aa2da6661f7ffecd965347bdb1c27baec28a4ca6b60e2f309257b7
Contents?: true
Size: 580 Bytes
Versions: 14
Compression:
Stored size: 580 Bytes
Contents
#-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # # Copyright (c) 2009-2014 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\.]+/) @ast["status:available"] = true end end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems