Sha256: 5cfae4acf3e85cdb2d0c117d9dc526e09b4d6c419d2bae80bd2da81584f7f58c
Contents?: true
Size: 613 Bytes
Versions: 16
Compression:
Stored size: 613 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
16 entries across 16 versions & 1 rubygems