Sha256: 0f6935d873d1c6c2d2857eda16dcc3a4fbd91b62ab97872e896634f6e490eb57

Contents?: true

Size: 530 Bytes

Versions: 3

Compression:

Stored size: 530 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

      # 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

3 entries across 3 versions & 1 rubygems

Version Path
whois-3.6.5 lib/whois/record/scanners/whois.pir.org.rb
whois-3.6.4 lib/whois/record/scanners/whois.pir.org.rb
whois-3.6.3 lib/whois/record/scanners/whois.pir.org.rb