Sha256: 306fe29358be220979d2ba08dcb34cc160afa1ea456f6ba5da4035f0c984ea93
Contents?: true
Size: 440 Bytes
Versions: 4
Compression:
Stored size: 440 Bytes
Contents
# frozen_string_literal: true # @api private # @since 0.5.0 module SmartCore::Container::RegistryBuilder class << self # @param commands [SmartCore::Container::CommandSet] # @return [SmartCore::Container::Registry] # # @api private # @since 0.5.0 def build(commands) SmartCore::Container::Registry.new.tap do |registry| commands.each { |command| command.call(registry) } end end end end
Version data entries
4 entries across 4 versions & 1 rubygems