Sha256: ee32ce0baecfb98b9f03e69dc61611d03f6230104bb4d3e38da8a370acb37f73
Contents?: true
Size: 420 Bytes
Versions: 14
Compression:
Stored size: 420 Bytes
Contents
# encoding: utf-8 # This file is distributed under New Relic's license terms. # See https://github.com/newrelic/rpm/blob/master/LICENSE for complete details. module FlakyProxy class Server attr_reader :host, :port def initialize(host, port) @host = host @port = port end def open_socket TCPSocket.new(@host, @port) end def to_s "#{@host}:#{@port}" end end end
Version data entries
14 entries across 14 versions & 1 rubygems