Sha256: 4f5c450fa0aef341e2eca5bca8d66d21b53ee640978cecf0f13ad02babf2832f
Contents?: true
Size: 687 Bytes
Versions: 6
Compression:
Stored size: 687 Bytes
Contents
#-- # Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # # Copyright (c) 2009-2015 Simone Carletti <weppos@weppos.net> #++ require_relative 'base' require_relative 'base_cocca' module Whois class Parsers # Parser for the whois.nic.ec server. # # @see Whois::Parsers::Example # The Example parser for the list of all available methods. # class WhoisNicEc < BaseCocca property_supported :status do if content_for_scanner =~ /Status:\s+(.+?)\n/ super() else registrar ? :registered : :available # Whois.bug!(ParserError, "Unable to parse status.") end end end end end
Version data entries
6 entries across 6 versions & 2 rubygems