Class: SmartCore::Container::Entities::NamespaceBuilder Private

Inherits:
Object
  • Object
show all
Defined in:
lib/smart_core/container/entities/namespace_builder.rb

Overview

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

Since:

  • 0.7.0

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(namespace_name) ⇒ void

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)

Since:

  • 0.7.0



22
23
24
# File 'lib/smart_core/container/entities/namespace_builder.rb', line 22

def initialize(namespace_name)
  @namespace_name = namespace_name
end

Class Method Details

.build(namespace_name) ⇒ 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)

Returns:

Since:

  • 0.7.0



12
13
14
# File 'lib/smart_core/container/entities/namespace_builder.rb', line 12

def build(namespace_name)
  new(namespace_name).build
end

Instance Method Details

#buildSmartCore::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.



30
31
32
# File 'lib/smart_core/container/entities/namespace_builder.rb', line 30

def build
  SmartCore::Container::Entities::Namespace.new(namespace_name)
end