Sha256: e93a51838798c6a0a2c8db57ee941b784168ed462524d22ef82dba60f0df7008
Contents?: true
Size: 298 Bytes
Versions: 7
Compression:
Stored size: 298 Bytes
Contents
module HotBunnies class ShutdownListener include com.rabbitmq.client.ShutdownListener def initialize(entity, &block) # connection or channel @entity = entity @block = block end def shutdown_completed(cause) @block.call(@entity, cause) end end end
Version data entries
7 entries across 7 versions & 1 rubygems