Sha256: 3c0c21ab480440d4320c62a7f4e3025b394be9500e8dc94ef0b394d8452bd573
Contents?: true
Size: 530 Bytes
Versions: 10
Compression:
Stored size: 530 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 # Scanner for the Afilias-based records. class WhoisPirOrg < BaseAfilias tokenizer :scan_disclaimer do if @input.match?(/^Access to/) @ast["field:disclaimer"] = _scan_lines_to_array(/^(.+)\n/).join(" ") end end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems