Class: Dapp::Deployment::Config::Directive::Namespace

Inherits:
Base show all
Includes:
InstanceMethods
Defined in:
lib/dapp/deployment/config/directive/namespace.rb,
lib/dapp/deployment/config/directive/namespace/instance_methods.rb

Defined Under Namespace

Modules: InstanceMethods

Instance Attribute Summary collapse

Attributes included from InstanceMethods

#_environment, #_scale, #_secret_environment

Instance Method Summary collapse

Methods included from InstanceMethods

#environment, #scale, #secret_environment

Methods inherited from Base

#hostname_pattern

Methods inherited from Config::Directive::Base

#clone, #encode_with

Constructor Details

#initialize(name, dapp:) ⇒ Namespace

Returns a new instance of Namespace.



10
11
12
13
# File 'lib/dapp/deployment/config/directive/namespace.rb', line 10

def initialize(name, dapp:)
  self._name = name
  super(dapp: dapp)
end

Instance Attribute Details

#_nameObject

Returns the value of attribute _name.



8
9
10
# File 'lib/dapp/deployment/config/directive/namespace.rb', line 8

def _name
  @_name
end