Sha256: 66ce786b76a91df7763629acb5e17147597dcbda11a49149bfbd38f10ee32dd3
Contents?: true
Size: 486 Bytes
Versions: 4
Compression:
Stored size: 486 Bytes
Contents
# frozen_string_literal: true require "dry/container" module Tocer module CLI module Actions # Provides a single container with application and action specific dependencies. module Container extend Dry::Container::Mixin config.registry = ->(container, key, value, _options) { container[key.to_s] = value } merge Tocer::Container register(:config) { Config.new } register(:insert) { Insert.new } end end end end
Version data entries
4 entries across 4 versions & 1 rubygems