Sha256: 91094da7404f08aeb06ded0459bdbdfa451a537296f70bbeb9aef81904e7524a

Contents?: true

Size: 552 Bytes

Versions: 2

Compression:

Stored size: 552 Bytes

Contents

# frozen_string_literal: true

require 'bunny'

# Top level namespace for CottonTail
module CottonTail
  autoload :App, 'cotton_tail/app'
  autoload :Configuration, 'cotton_tail/configuration'
  autoload :DSL, 'cotton_tail/dsl'
  autoload :Queue, 'cotton_tail/queue'
  autoload :Router, 'cotton_tail/router'
  autoload :Version, 'cotton_tail/version'

  class << self
    def configure
      return configuration unless block_given?

      yield configuration
    end

    def configuration
      @configuration ||= Configuration.new
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cotton-tail-0.2.1 lib/cotton_tail.rb
cotton-tail-0.2.0 lib/cotton_tail.rb