class TCPSocket::SOCKSConnectionPeerAddress
Attributes
socks_port[R]
socks_server[R]
Public Class Methods
new(socks_server, socks_port, peer_host)
click to toggle source
Calls superclass method
# File lib/socksify.rb, line 137 def initialize(socks_server, socks_port, peer_host) @socks_server, @socks_port = socks_server, socks_port super peer_host end
Public Instance Methods
inspect()
click to toggle source
# File lib/socksify.rb, line 142 def inspect "#{to_s} (via #{@socks_server}:#{@socks_port})" end
peer_host()
click to toggle source
# File lib/socksify.rb, line 146 def peer_host to_s end