Class: Dapp::Dimg::Config::Directive::Dimg

Inherits:
Base show all
Includes:
InstanceMethods, Validation
Defined in:
lib/dapp/dimg/config/directive/dimg.rb,
lib/dapp/dimg/config/directive/dimg/validation.rb,
lib/dapp/dimg/config/directive/dimg/instance_methods.rb

Direct Known Subclasses

ArtifactDimg

Defined Under Namespace

Modules: InstanceMethods, Validation

Instance Attribute Summary collapse

Attributes included from InstanceMethods

#_ansible, #_artifact, #_artifact_groups, #_builder, #_chef, #_docker, #_from_dimg, #_from_dimg_artifact, #_git_artifact, #_mount, #_shell

Instance Method Summary collapse

Methods included from InstanceMethods

#_context_artifact_groups, #_import_artifact, #artifact, #artifacts_after_parsing!, #chef, #docker, #git, #import, #mount, #shell

Methods included from Validation

#validate!

Methods included from Helper::Trivia

#check_path?, #check_subpath?, #class_to_lowercase, class_to_lowercase, #delete_file, #ignore_path?, #ignore_path_base, #kwargs, #make_path, #path_checker, #search_file_upward

Methods inherited from Base

#clone_to_artifact

Methods inherited from Config::Directive::Base

#clone, #encode_with

Constructor Details

#initialize(name, dapp:) ⇒ Dimg

Returns a new instance of Dimg.



11
12
13
14
# File 'lib/dapp/dimg/config/directive/dimg.rb', line 11

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

Instance Attribute Details

#_nameObject

Returns the value of attribute _name.



9
10
11
# File 'lib/dapp/dimg/config/directive/dimg.rb', line 9

def _name
  @_name
end