mirror of
https://github.com/jimeh/amqp-failover.git
synced 2026-02-19 10:56:44 +00:00
19 lines
225 B
Ruby
19 lines
225 B
Ruby
# encoding: utf-8
|
|
|
|
module SpecServer
|
|
include AMQP::Server
|
|
|
|
class << self
|
|
def log
|
|
@log ||= []
|
|
end
|
|
attr_writer :log
|
|
end
|
|
|
|
def log(*args)
|
|
SpecServer.log << args
|
|
# silence Output
|
|
end
|
|
|
|
end
|