Sha256: 24b92b3383c38b09629336b8b9b9f26db4086b192d7c0054694bbe6b8b3376f3
Contents?: true
Size: 583 Bytes
Versions: 6
Compression:
Stored size: 583 Bytes
Contents
#-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # # Copyright (c) 2009-2015 Simone Carletti <weppos@weppos.net> #++ require_relative 'base_cocca2' module Whois class Parsers # Parser for the whois.nic.gs server. # # @see Whois::Parsers::Example # The Example parser for the list of all available methods. # class WhoisNicGs < BaseCocca2 property_supported :status do list = Array.wrap(node("Domain Status")).map(&:downcase) list.include?("available") ? :available : super() end end end end
Version data entries
6 entries across 6 versions & 2 rubygems