Sha256: 26926e8ac28721aaa315dfeea0d5d08bfe25c2a65d56c1996bdb13b053f1d9c1
Contents?: true
Size: 602 Bytes
Versions: 15
Compression:
Stored size: 602 Bytes
Contents
class Freddy module Adapters def self.determine if RUBY_PLATFORM == 'java' require_relative 'adapters/march_hare_adapter' MarchHareAdapter else require_relative 'adapters/bunny_adapter' BunnyAdapter end end module Shared class Queue def initialize(queue) @queue = queue end def bind(*args) @queue.bind(*args) self end def name @queue.name end def message_count @queue.message_count end end end end end
Version data entries
15 entries across 15 versions & 2 rubygems