Sha256: 74b804d0f8f42face06f20d493004dbd1f39455933a1031f1ac22edb3ae7ddaf
Contents?: true
Size: 450 Bytes
Versions: 2
Compression:
Stored size: 450 Bytes
Contents
# This isn't a queue at all, it just writes to standard output. # # It might be useful for testing. # class JobQueue::VerboseAdapter def initialize end def put(string) JobQueue.logger.debug "===== NEW JOB ADDED TO QUEUE ====" JobQueue.logger.debug string JobQueue.logger.debug "===== END OF MESSAGE ============" end def subscribe(error_report, &block) raise "Not implemented. Use a better adapter!!" end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
mloughran-job_queue-0.0.3 | lib/job_queue/adapters/verbose_adapter.rb |
strobemonkey-job_queue-0.0.5 | lib/job_queue/adapters/verbose_adapter.rb |