Sha256: 7feb55f776cf5a6621f795b51d57fbd780617c1ffd73597cffd65d6592e04341
Contents?: true
Size: 580 Bytes
Versions: 3
Compression:
Stored size: 580 Bytes
Contents
#-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # # Copyright (c) 2009-2015 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
whois-3.6.5 | lib/whois/record/scanners/whois.yoursrs.com.rb |
whois-3.6.4 | lib/whois/record/scanners/whois.yoursrs.com.rb |
whois-3.6.3 | lib/whois/record/scanners/whois.yoursrs.com.rb |