Sha256: 1467be2efe0a48e3edca2689d793484da64016e5b145ad5f0363eb280c063f25
Contents?: true
Size: 464 Bytes
Versions: 11
Compression:
Stored size: 464 Bytes
Contents
# frozen_string_literal: true require "cogger" require "dry-container" require "spek" module Pragmater # 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__}/../../pragmater.gemspec" } register(:kernel) { Kernel } register(:logger) { Cogger::Client.new } end end
Version data entries
11 entries across 11 versions & 1 rubygems