Sha256: 31cd0438fdc2071ccb658394ab7b6077b55943b2f169f6efd35b9056f5dd67a1

Contents?: true

Size: 275 Bytes

Versions: 3

Compression:

Stored size: 275 Bytes

Contents

require "dry/container"
require "syslogger"
require "sysloggable/logger"

module Sysloggable
  Container = ::Dry::Container.new
end

::Sysloggable::Container.namespace('lib') do
  register 'logger', -> { ::Sysloggable::Logger }
  register 'syslogger', -> { ::Syslogger }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sysloggable-0.2.1 lib/sysloggable/container.rb
sysloggable-0.2.0 lib/sysloggable/container.rb
sysloggable-0.1.0 lib/sysloggable/container.rb