Sha256: 66345bed2ed371abce99a37103599e1c8e50eb24a57c3d8ec37f036bb995ef7f
Contents?: true
Size: 687 Bytes
Versions: 3
Compression:
Stored size: 687 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 # Scanner for the whois.tucows.com record. class WhoisTucowsCom < Base self.tokenizers += [ :skip_empty_line, :scan_disclaimer, :scan_keyvalue, ] tokenizer :scan_disclaimer do @input.skip_until(/The Data in the Tucows Registrar/m) @ast["field:disclaimer"] = 'The Data in the Tucows Registrar' << @input.scan_until(/.*$/m) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
whois-3.4.3 | lib/whois/record/scanners/whois.tucows.com.rb |
whois-3.4.2 | lib/whois/record/scanners/whois.tucows.com.rb |
whois-3.4.1 | lib/whois/record/scanners/whois.tucows.com.rb |