Sha256: f52175243efc9b3972c759752a3de4c35541bd2e83d9cac763928ae3f09f4d00
Contents?: true
Size: 682 Bytes
Versions: 4
Compression:
Stored size: 682 Bytes
Contents
# frozen_string_literal: true require "dry/container" module SublimeTextKit 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 SublimeTextKit::Container register(:config) { Actions::Config.new } register(:metadata) { Actions::Metadata.new } register(:session) { Actions::Session.new } register(:snippets) { Actions::Snippets.new } register(:update) { Actions::Update.new } end end end end
Version data entries
4 entries across 4 versions & 1 rubygems