ruby-nsca/dummy_server.rb

11 lines
160 B
Ruby
Raw Normal View History

require 'socket'
module NSCA
class ServerDummy
attr_reader :server
def initialize *host_and_port
@server = TCPServer.new *host_and_port
end
end
end