Sha256: e5244671817939138bf34a1d316fa25f0f76fbb5fb3ce466ee15c02e23412515
Contents?: true
Size: 653 Bytes
Versions: 1
Compression:
Stored size: 653 Bytes
Contents
#-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # # Copyright (c) 2009-2013 Simone Carletti <weppos@weppos.net> #++ require 'whois/record/parser/base_cocca2' module Whois class Record class Parser # Parser for the whois.nic.af server. # # @see Whois::Record::Parser::Example # The Example parser for the list of all available methods. # class WhoisNicAf < BaseCocca2 property_supported :status do list = Array.wrap(node("Domain Status")).map(&:downcase) list.include?("no object found") ? :available : super() end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
whois-3.4.2 | lib/whois/record/parser/whois.nic.af.rb |