Sha256: efddb2718cefcdd8b3e37b9ce45caa9eff42f8eaa91ea37d1286787377611b02

Contents?: true

Size: 626 Bytes

Versions: 7

Compression:

Stored size: 626 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.
      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

7 entries across 7 versions & 1 rubygems

Version Path
whois-3.4.3 lib/whois/record/scanners/whois.audns.net.au.rb
whois-3.4.2 lib/whois/record/scanners/whois.audns.net.au.rb
whois-3.4.1 lib/whois/record/scanners/whois.audns.net.au.rb
whois-3.4.0 lib/whois/record/scanners/whois.audns.net.au.rb
whois-3.3.1 lib/whois/record/scanners/whois.audns.net.au.rb
whois-3.3.0 lib/whois/record/scanners/whois.audns.net.au.rb
whois-3.2.1 lib/whois/record/scanners/whois.audns.net.au.rb