Sha256: e4dc62647996fe854f4c4d4ee7de0194d6751572ee670b35852dea87759ca1f0
Contents?: true
Size: 651 Bytes
Versions: 15
Compression:
Stored size: 651 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_cocca2' module Whois class Record class Parser # Parser for the whois.pnina.ps server. # # @see Whois::Record::Parser::Example # The Example parser for the list of all available methods. # class WhoisPninaPs < BaseCocca2 property_supported :status do list = Array.wrap(node("Domain Status")).map(&:downcase) list.include?("available") ? :available : super() end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems