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