Sha256: 90db61a876567c2d81057702e7be0d27f59dc94f01c4db38876355590b5e6473
Contents?: true
Size: 417 Bytes
Versions: 12
Compression:
Stored size: 417 Bytes
Contents
# Copyright 2009 emonti at matasano.com # See README.rdoc for license information # module Plug module Proxy include Base attr_accessor :target def initialize(transport, target) @transport = transport @peers = ProxyPeerList.new(self) @kind = :proxy end end class ProxyPeerList < PeerList def add_peer(addr) end def add_peer_manually(*args) end end end
Version data entries
12 entries across 12 versions & 2 rubygems