Sha256: f2332f1508855ceaddf7723c0431109ae0a5acd85a52971e06101f22b9943ea9

Contents?: true

Size: 655 Bytes

Versions: 5

Compression:

Stored size: 655 Bytes

Contents

#--
# Ruby Whois
#
# An intelligent pure Ruby WHOIS client and parser.
#
# Copyright (c) 2009-2012 Simone Carletti <weppos@weppos.net>
#++


require 'whois/record/scanners/base'


module Whois
  class Record
    module Scanners

      # Scanner for the whois.audns.net.au record.
      #
      # @since 2.5.0
      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

5 entries across 5 versions & 1 rubygems

Version Path
whois-2.6.2 lib/whois/record/scanners/whois.audns.net.au.rb
whois-2.6.1 lib/whois/record/scanners/whois.audns.net.au.rb
whois-2.6.0 lib/whois/record/scanners/whois.audns.net.au.rb
whois-2.5.1 lib/whois/record/scanners/whois.audns.net.au.rb
whois-2.5.0 lib/whois/record/scanners/whois.audns.net.au.rb