Sha256: dfda06c573ea19fac5afb823d3f65a3455d7f46accb6865fd66fe7cd66d0bd71
Contents?: true
Size: 476 Bytes
Versions: 11
Compression:
Stored size: 476 Bytes
Contents
# frozen_string_literal: true require "cogger" require "dry/container" require "spek" module SublimeTextKit # Provides a global gem container for injection into other objects. module Container extend Dry::Container::Mixin register(:configuration) { Configuration::Loader.call } register(:specification) { Spek::Loader.call "#{__dir__}/../../sublime_text_kit.gemspec" } register(:kernel) { Kernel } register(:logger) { Cogger::Client.new } end end
Version data entries
11 entries across 11 versions & 1 rubygems