Sha256: 9a0d6509c31864bc5c9dbfdf6ad53869d07c3719d3791ab3884429a80254fa76
Contents?: true
Size: 539 Bytes
Versions: 5
Compression:
Stored size: 539 Bytes
Contents
# frozen_string_literal: true require "dry/container" module Milestoner 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 Milestoner::Container register(:config) { Config.new } register(:publish) { Publish.new } register(:status) { Status.new } end end end end
Version data entries
5 entries across 5 versions & 1 rubygems