Sha256: 4d6dca4b832a8ff4ef9210e909bf4b26a5d5710d7efc428d9af7ed22f4e506a6

Contents?: true

Size: 345 Bytes

Versions: 9

Compression:

Stored size: 345 Bytes

Contents

require_relative 'base'

module Whois
  module Scanners

    # Scanner for the whois.srs.net.nz record.
    class WhoisSrsNetNz < Base

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


      tokenizer :skip_comment do
        @input.skip(/^%.*\n/)
      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.srs.net.nz.rb
whois-parser-1.2.0 lib/whois/scanners/whois.srs.net.nz.rb
whois-parser-1.1.0 lib/whois/scanners/whois.srs.net.nz.rb
whois-parser-1.0.1 lib/whois/scanners/whois.srs.net.nz.rb
hetzner-whois-parser-1.0.1.rc2 lib/whois/scanners/whois.srs.net.nz.rb
hetzner-whois-parser-1.0.1.rc1 lib/whois/scanners/whois.srs.net.nz.rb
whois-parser-1.0.0 lib/whois/scanners/whois.srs.net.nz.rb
whois-parser-1.0.0.pre.beta2 lib/whois/scanners/whois.srs.net.nz.rb
whois-parser-1.0.0.pre.beta1 lib/whois/scanners/whois.srs.net.nz.rb