Sha256: ad09b3582fd0d88a948d7718d6f66f8baaa95151fc7ba2d25281ab323c263eca
Contents?: true
Size: 249 Bytes
Versions: 6
Compression:
Stored size: 249 Bytes
Contents
require 'socket' module LogSimulator class SocketConnetion attr_reader :socket def initialize (host,port) begin @socket = TCPSocket.new(host,port) rescue Exception => _ @socket = nil end end end end
Version data entries
6 entries across 6 versions & 1 rubygems