Sha256: 187c5b9ed39a7fe9fe086f9f212f7ab2d0bb60ebf02627503feb16e61bf631ee

Contents?: true

Size: 656 Bytes

Versions: 6

Compression:

Stored size: 656 Bytes

Contents

#--
# Ruby Whois
#
# An intelligent pure Ruby WHOIS client and parser.
#
# Copyright (c) 2009-2013 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

6 entries across 6 versions & 1 rubygems

Version Path
whois-3.2.0 lib/whois/record/scanners/whois.audns.net.au.rb
whois-3.1.3 lib/whois/record/scanners/whois.audns.net.au.rb
whois-3.1.2 lib/whois/record/scanners/whois.audns.net.au.rb
whois-3.1.1 lib/whois/record/scanners/whois.audns.net.au.rb
whois-3.1.0 lib/whois/record/scanners/whois.audns.net.au.rb
whois-3.0.0 lib/whois/record/scanners/whois.audns.net.au.rb