Sha256: 44e85bbbadaa64e09505d9da6f92a35d41cddf0c9022d1ffa36fd7084731587f

Contents?: true

Size: 580 Bytes

Versions: 8

Compression:

Stored size: 580 Bytes

Contents

#--
# Ruby Whois
#
# An intelligent pure Ruby WHOIS client and parser.
#
# Copyright (c) 2009-2014 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

8 entries across 8 versions & 1 rubygems

Version Path
whois-3.6.2 lib/whois/record/parser/whois.nic.gd.rb
whois-3.6.1 lib/whois/record/parser/whois.nic.gd.rb
whois-3.6.0 lib/whois/record/parser/whois.nic.gd.rb
whois-3.5.9 lib/whois/record/parser/whois.nic.gd.rb
whois-3.5.8 lib/whois/record/parser/whois.nic.gd.rb
whois-3.5.7 lib/whois/record/parser/whois.nic.gd.rb
whois-3.5.6 lib/whois/record/parser/whois.nic.gd.rb
whois-3.5.5 lib/whois/record/parser/whois.nic.gd.rb