Sha256: 223da55cde67ea6f6821a47860b723b7b264560db432c238807e33bd417309a3
Contents?: true
Size: 584 Bytes
Versions: 1
Compression:
Stored size: 584 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\.]+\.\n/) @ast["status:available"] = true end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
whois-3.4.4 | lib/whois/record/scanners/whois.yoursrs.com.rb |