Sha256: 6a1fa032cb7b3160a8bf4a74ca078145d25095dcc1c86ef68bea5a51d1db8c40

Contents?: true

Size: 313 Bytes

Versions: 1

Compression:

Stored size: 313 Bytes

Contents

# frozen_string_literal: true

require "dry-container"

module Milestoner
  module Builders
    # Registers all builders for injection.
    module Container
      extend Dry::Container::Mixin

      register(:stream, memoize: true) { Stream.new }
      register(:web, memoize: true) { Web.new }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
milestoner-17.0.0 lib/milestoner/builders/container.rb