Method: Pushlet::GatewayPool#initialize
- Defined in:
- lib/pushlet/gateway_pool.rb
#initialize ⇒ GatewayPool
Returns a new instance of GatewayPool.
3 4 5 6 |
# File 'lib/pushlet/gateway_pool.rb', line 3 def initialize @mutex = Mutex.new @pool = {} end |