Sha256: a1abd4f8b89d417694811b30970078a9366a3dfd723f061417857320b369c8cb

Contents?: true

Size: 420 Bytes

Versions: 9

Compression:

Stored size: 420 Bytes

Contents

require_relative 'base'

module Whois
  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

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
whois-parser-2.0.0 lib/whois/scanners/whois.audns.net.au.rb
whois-parser-1.2.0 lib/whois/scanners/whois.audns.net.au.rb
whois-parser-1.1.0 lib/whois/scanners/whois.audns.net.au.rb
whois-parser-1.0.1 lib/whois/scanners/whois.audns.net.au.rb
hetzner-whois-parser-1.0.1.rc2 lib/whois/scanners/whois.audns.net.au.rb
hetzner-whois-parser-1.0.1.rc1 lib/whois/scanners/whois.audns.net.au.rb
whois-parser-1.0.0 lib/whois/scanners/whois.audns.net.au.rb
whois-parser-1.0.0.pre.beta2 lib/whois/scanners/whois.audns.net.au.rb
whois-parser-1.0.0.pre.beta1 lib/whois/scanners/whois.audns.net.au.rb