Module: SmartCore::Container::Entities::NamespaceBuilder Private

Defined in:
lib/smart_core/container/entities/namespace_builder.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Since:

  • 0.1.0

Class Method Summary collapse

Class Method Details

.build(namespace_name, host_container = SmartCore::Container::NO_HOST_CONTAINER) ⇒ SmartCore::Container::Entities::Namespace

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • namespace_name (String)
  • host_container (SmartContainer, NilClass) (defaults to: SmartCore::Container::NO_HOST_CONTAINER)

Returns:

Since:

  • 0.1.0

Version:

  • 0.8.1



16
17
18
# File 'lib/smart_core/container/entities/namespace_builder.rb', line 16

def build(namespace_name, host_container = SmartCore::Container::NO_HOST_CONTAINER)
  SmartCore::Container::Entities::Namespace.new(namespace_name, host_container)
end