Sha256: e483554dad5f2a7abaf24748885adca34a762f977710c8496411d368ceb2c574
Contents?: true
Size: 167 Bytes
Versions: 3
Compression:
Stored size: 167 Bytes
Contents
module RBMK class Peer def initialize client @host = client.peeraddr[3] @port = client.peeraddr[1] end def to_s sprintf '%s:%s', @host, @port end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rbmk-0.1.0.c | lib/rbmk/peer.rb |
rbmk-0.1.0.b | lib/rbmk/peer.rb |
rbmk-0.1.0.a | lib/rbmk/peer.rb |