Sha256: 0d6988189e6393437c8cb7c079acce807ee8e6a8f3cef354ddf37eaf2a63341e
Contents?: true
Size: 865 Bytes
Versions: 3
Compression:
Stored size: 865 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_icb' module Whois class Record class Parser # Parser for the whois.nic.io server. # # @see Whois::Record::Parser::Example # The Example parser for the list of all available methods. # class WhoisNicIo < BaseIcb property_supported :domain do if reserved? nil else super() end end property_supported :status do if reserved? :reserved else super() end end # NEWPROPERTY def reserved? !!content_for_scanner.match(/^Domain reserved\n/) 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.io.rb |
whois-3.6.4 | lib/whois/record/parser/whois.nic.io.rb |
whois-3.6.3 | lib/whois/record/parser/whois.nic.io.rb |