Sha256: 0392c586fb10b0ee06f60587cbf0d99f2161ac8765180ac2b6a486dd45e9b3e9

Contents?: true

Size: 242 Bytes

Versions: 3

Compression:

Stored size: 242 Bytes

Contents

module Persistence
  class Container < Dry::System::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

3 entries across 3 versions & 1 rubygems

Version Path
dry-web-roda-0.5.1 spec/dummy/shared/persistence.rb
dry-web-roda-0.5.0 spec/dummy/shared/persistence.rb
dry-web-roda-0.4.0 spec/dummy/shared/persistence.rb