Sha256: ff9006accee6bd952c9f0da950ab389c22e14e5ad7310b360797872c8e22ed40
Contents?: true
Size: 770 Bytes
Versions: 3
Compression:
Stored size: 770 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' require 'whois/record/parser/base_cocca' module Whois class Record class Parser # Parser for the whois.nic.ec server. # # @see Whois::Record::Parser::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 end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
whois-3.6.5 | lib/whois/record/parser/whois.nic.ec.rb |
whois-3.6.4 | lib/whois/record/parser/whois.nic.ec.rb |
whois-3.6.3 | lib/whois/record/parser/whois.nic.ec.rb |