Sha256: 161b211428502c2bdd87ce7a8bb0ff32b50e3d61b8c881ee4f3e6cd591de29ad

Contents?: true

Size: 245 Bytes

Versions: 7

Compression:

Stored size: 245 Bytes

Contents

module Persistence
  class Container < Dry::Component::Container
    configure do |config|
      config.root = Pathname(__dir__).join('persistence')
      config.name = :persistence
    end

    require 'db'

    register(:db, Db.new)
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
dry-web-roda-0.3.0 spec/dummy/shared/persistence.rb
dry-web-roda-0.2.3 spec/dummy/shared/persistence.rb
dry-web-roda-0.2.2 spec/dummy/shared/persistence.rb
dry-web-roda-0.2.1 spec/dummy/shared/persistence.rb
dry-web-roda-0.2.0 spec/dummy/shared/persistence.rb
dry-web-roda-0.1.0 spec/dummy/shared/persistence.rb
dry-web-0.1.0 spec/dummy/shared/persistence.rb