Sha256: 85a30f66d4f5b05233a83b3f2c24ca100ee7be301525a66b1df24485afe73c5e
Contents?: true
Size: 376 Bytes
Versions: 2
Compression:
Stored size: 376 Bytes
Contents
require "singleton" module MessageQueue module Adapters class Adapter include Singleton class << self def new_connection(serializer, options = {}) instance.new_connection(serializer, options) end end def new_connection(serializer, options = {}) Connection.new(serializer, options) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
message_queue-0.1.1 | lib/message_queue/adapter.rb |
message_queue-0.1.0 | lib/message_queue/adapter.rb |