Sha256: 65ec4afc99e57cc743c78446c99fe5b70f27bc78df2a5f29ffb4b5f7e2642ebf
Contents?: true
Size: 604 Bytes
Versions: 2
Compression:
Stored size: 604 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.default_namespace = "<%= config[:underscored_app_name] %>" config.auto_register = %w[ lib/<%= config[:underscored_app_name] %> ] end load_paths! "lib", "component" end end
Version data entries
2 entries across 2 versions & 1 rubygems