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