Sha256: 2d223f907b7ca3861be6c44b964205af3620358af0465c1534948ae8d4769bd3

Contents?: true

Size: 593 Bytes

Versions: 4

Compression:

Stored size: 593 Bytes

Contents

# frozen_string_literal: true

# @api private
# @since 0.1.0
# @version 0.8.1
module SmartCore::Container::Entities
  module NamespaceBuilder
    class << self
      # @param namespace_name [String]
      # @param host_container [SmartContainer, NilClass]
      # @return [SmartCore::Container::Entities::Namespace]
      #
      # @api private
      # @since 0.1.0
      # @version 0.8.1
      def build(namespace_name, host_container = SmartCore::Container::NO_HOST_CONTAINER)
        SmartCore::Container::Entities::Namespace.new(namespace_name, host_container)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
smart_container-0.11.0 lib/smart_core/container/entities/namespace_builder.rb
smart_container-0.10.0 lib/smart_core/container/entities/namespace_builder.rb
smart_container-0.9.0 lib/smart_core/container/entities/namespace_builder.rb
smart_container-0.8.1 lib/smart_core/container/entities/namespace_builder.rb