Sha256: 433510272fbeeabcb9cf21cc08a113ef37015d7b94224e8b1245723d16836bf5
Contents?: true
Size: 488 Bytes
Versions: 4
Compression:
Stored size: 488 Bytes
Contents
# frozen_string_literal: true require "dry/container" module Pragmater 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 Pragmater::Container register(:config) { Config.new } register(:run) { Run.new } end end end end
Version data entries
4 entries across 4 versions & 1 rubygems