Sha256: 5eaa82ae8227713cfdf7e2107082c6990c18e5132118d8a8a6c0c61e20ddd2bf

Contents?: true

Size: 271 Bytes

Versions: 2

Compression:

Stored size: 271 Bytes

Contents

# frozen_string_literal: true

require 'dry/system/rails'

Dry::System::Rails.container do
  use :env, inferrer: -> { Rails.env.to_sym }

  config.auto_register << 'lib' << 'app/operations'

  auto_register!('app/workers') do |config|
    config.memoize = true
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dry-system-rails-0.3.1 spec/dummy/config/initializers/container.rb
dry-system-rails-0.3.0 spec/dummy/config/initializers/container.rb