Sha256: 7bf440a4b24b64d2519286b68b5078b4b523f22fcf0e63f6ce3280cc3a9f06af
Contents?: true
Size: 246 Bytes
Versions: 7
Compression:
Stored size: 246 Bytes
Contents
module RBMK class Peer attr_accessor :socket, :host, :port def initialize client @socket = client @host, @port = client.peeraddr.values_at 3, 1 end def close @socket.close end def to_s sprintf '%s:%s', @host, @port end end end
Version data entries
7 entries across 7 versions & 1 rubygems