Sha256: e46bb0c82570eca5eb2ac81fa2738bbfd3698e07f62ca3f87fcd43f7e1312b78

Contents?: true

Size: 300 Bytes

Versions: 4

Compression:

Stored size: 300 Bytes

Contents

require "dry/web/container"

module <%= config[:camel_cased_app_name] %>
  class Container < Dry::Web::Container
    configure do
      config.name = :<%= config[:underscored_project_name] %>
      config.listeners = true
      config.auto_register = %w[app]
    end

    load_paths! "app"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kanji-web-0.2.2 lib/kanji/templates/system/project/container.rb.tt
kanji-web-0.2.1 lib/kanji/templates/system/project/container.rb.tt
kanji-web-0.2.0 lib/kanji/templates/system/project/container.rb.tt
kanji-web-0.1.0 lib/kanji/templates/system/project/container.rb.tt