Sha256: 30b598b48c15c3a416c13f78a61975f2333ec85ad1fc073bde2e634fddaa50cc

Contents?: true

Size: 547 Bytes

Versions: 8

Compression:

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
whois-3.4.3 lib/whois/record/scanners/whois.srs.net.nz.rb
whois-3.4.2 lib/whois/record/scanners/whois.srs.net.nz.rb
whois-3.4.1 lib/whois/record/scanners/whois.srs.net.nz.rb
whois-3.4.0 lib/whois/record/scanners/whois.srs.net.nz.rb
whois-3.3.1 lib/whois/record/scanners/whois.srs.net.nz.rb
whois-3.3.0 lib/whois/record/scanners/whois.srs.net.nz.rb
whois-3.2.1 lib/whois/record/scanners/whois.srs.net.nz.rb
whois-3.2.0 lib/whois/record/scanners/whois.srs.net.nz.rb