Sha256: 696b746f7963caa42b5ed34edcf4a2b00494b898df83b6f17f52a71b97b675fa
Contents?: true
Size: 766 Bytes
Versions: 4
Compression:
Stored size: 766 Bytes
Contents
require "pathname" require "dry/web/container" module <%= config[:camel_cased_app_name] %> class Container < Dry::Web::Container require root.join("system/<%= config[:underscored_umbrella_name] %>/container") import core: <%= config[:camel_cased_umbrella_name] %>::Container register :rack_monitor, <%= config[:camel_cased_umbrella_name] %>::Container[:rack_monitor] configure do |config| config.root = Pathname(__FILE__).join("../..").realpath.dirname.freeze config.logger = <%= config[:camel_cased_umbrella_name] %>::Container[:logger] config.default_namespace = "<%= config[:underscored_project_name] %>" config.auto_register = %w[lib/<%= config[:underscored_project_name] %>] end load_paths! "lib" end end
Version data entries
4 entries across 4 versions & 1 rubygems