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

Version Path
whois-3.6.2 lib/whois/record/scanners/whois.pir.org.rb
whois-3.6.1 lib/whois/record/scanners/whois.pir.org.rb
whois-3.6.0 lib/whois/record/scanners/whois.pir.org.rb
whois-3.5.9 lib/whois/record/scanners/whois.pir.org.rb
whois-3.5.8 lib/whois/record/scanners/whois.pir.org.rb
whois-3.5.7 lib/whois/record/scanners/whois.pir.org.rb
whois-3.5.6 lib/whois/record/scanners/whois.pir.org.rb
whois-3.5.5 lib/whois/record/scanners/whois.pir.org.rb
whois-3.5.4 lib/whois/record/scanners/whois.pir.org.rb
whois-3.5.3 lib/whois/record/scanners/whois.pir.org.rb