Sha256: 0aab3492f92dd508968951306d5467ba21f8997b7c1fa7cfa3e4be89ad330cd8

Contents?: true

Size: 626 Bytes

Versions: 3

Compression:

Stored size: 626 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 whois.audns.net.au record.
      class WhoisAudnsNetAu < Base

        self.tokenizers += [
            :skip_empty_line,
            :scan_available,
            :scan_keyvalue,
        ]


        tokenizer :scan_available do
          if @input.skip(/^No Data Found\n/)
            @ast["status:available"] = true
          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.audns.net.au.rb
whois-3.6.4 lib/whois/record/scanners/whois.audns.net.au.rb
whois-3.6.3 lib/whois/record/scanners/whois.audns.net.au.rb