Sha256: 714e7d9175d32bc1660aa29158e3e711351d0bb7694d5bbcb0f7b566bfa89351

Contents?: true

Size: 516 Bytes

Versions: 2

Compression:

Stored size: 516 Bytes

Contents

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


require_relative 'base_shared3'


module Whois
  class Parsers

    # Parser for the whois.nic.gd server.
    #
    # @see Whois::Parsers::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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
whois-parser-1.2.0 lib/whois/parsers/whois.nic.gd.rb
whois-parser-1.1.0 lib/whois/parsers/whois.nic.gd.rb