Sha256: eff7b480b6a48a23c133912a239679cb37ed9d4c81baf372119253a1d4bb6ed1
Contents?: true
Size: 592 Bytes
Versions: 24
Compression:
Stored size: 592 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
24 entries across 24 versions & 1 rubygems