Sha256: 6ce7ad101fd442d2a8ff757858b402547a8a89e8f1b3aba22ab5b34228b02d69
Contents?: true
Size: 619 Bytes
Versions: 8
Compression:
Stored size: 619 Bytes
Contents
# # = Ruby Whois # # An intelligent pure Ruby WHOIS client and parser. # # # Category:: Net # Package:: Whois # Author:: Simone Carletti <weppos@weppos.net> # License:: MIT License # #-- # #++ module Whois class Server module Adapters class Formatted < Base def request(qstring) options[:format] || raise(ServerError, "Missing mandatory :format option for adapter `Formatted'") response = query_the_socket(sprintf(options[:format], qstring), host) append_to_buffer response, host end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems