Sha256: 76acf2730da38bb4fb922248334fc3d8a45eef88569e94e37ca5f13fff34308a
Contents?: true
Size: 362 Bytes
Versions: 8
Compression:
Stored size: 362 Bytes
Contents
require 'whois' module Whois class ParserExtensions module WhoisParser # Lazy-loads and returns the parser proxy for current record. # # @return [Whois::Record::Parser] def parser @parser ||= Parser.new(self) end end end end Whois::Record.class_eval do include Whois::ParserExtensions::WhoisParser end
Version data entries
8 entries across 8 versions & 2 rubygems