Sha256: 7291186a748bfab8addb71793444b140974fe95c16bf57ea95720836b65ba3a4

Contents?: true

Size: 580 Bytes

Versions: 3

Compression:

Stored size: 580 Bytes

Contents

#--
# Ruby Whois
#
# An intelligent pure Ruby WHOIS client and parser.
#
# Copyright (c) 2009-2015 Simone Carletti <weppos@weppos.net>
#++


require 'whois/record/parser/base_shared3'


module Whois
  class Record
    class Parser

      # Parser for the whois.nic.gd server.
      #
      # @see Whois::Record::Parser::Example
      #   The Example parser for the list of all available methods.
      #
      class WhoisNicGd < BaseShared3

        # NEWPROPERTY
        def reserved?
          !!content_for_scanner.match(/RESTRICTED/)
        end

      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
whois-3.6.5 lib/whois/record/parser/whois.nic.gd.rb
whois-3.6.4 lib/whois/record/parser/whois.nic.gd.rb
whois-3.6.3 lib/whois/record/parser/whois.nic.gd.rb