Sha256: 0a1b4ed7c2efe315e8245a6ed1901dddbb26db1ef6d69b1517bf8c9110756258

Contents?: true

Size: 535 Bytes

Versions: 5

Compression:

Stored size: 535 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 .ORG/)
            @ast["field:disclaimer"] = _scan_lines_to_array(/^(.+)\n/).join(" ")
          end
        end
      end

    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
whois-3.5.2 lib/whois/record/scanners/whois.pir.org.rb
whois-3.5.1 lib/whois/record/scanners/whois.pir.org.rb
whois-3.5.0 lib/whois/record/scanners/whois.pir.org.rb
whois-3.4.5 lib/whois/record/scanners/whois.pir.org.rb
whois-3.4.4 lib/whois/record/scanners/whois.pir.org.rb