Sha256: 40775028e243d2140e0448263783fbb27ae68aa1bb4ff99f9553362bf34e24a3

Contents?: true

Size: 446 Bytes

Versions: 4

Compression:

Stored size: 446 Bytes

Contents

#
# = Ruby Whois
#
# An intelligent pure Ruby WHOIS client.
#
#
# 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)
          query_the_socket(sprintf(options[:format], qstring), host)
        end
        
      end
      
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
whois-0.5.3 lib/whois/server/adapters/formatted.rb
whois-0.5.2 lib/whois/server/adapters/formatted.rb
whois-0.5.0 lib/whois/server/adapters/formatted.rb
whois-0.5.1 lib/whois/server/adapters/formatted.rb