Sha256: ea42bab09deece5edf4caa39a9c4a5482b38e2a78d883d51708fc0166cf23746
Contents?: true
Size: 483 Bytes
Versions: 9
Compression:
Stored size: 483 Bytes
Contents
require_relative 'base' module Whois 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
Version data entries
9 entries across 9 versions & 2 rubygems