Class: Dapp::Dimg::Config::Directive::GitArtifactLocal
- Inherits:
-
ArtifactBase
- Object
- Config::Directive::Base
- Base
- ArtifactBase
- Dapp::Dimg::Config::Directive::GitArtifactLocal
- Defined in:
- lib/dapp/dimg/config/directive/git_artifact_local.rb
Direct Known Subclasses
Defined Under Namespace
Classes: Export
Instance Attribute Summary collapse
-
#_as ⇒ Object
readonly
Returns the value of attribute _as.
Attributes inherited from ArtifactBase
Instance Method Summary collapse
Methods inherited from ArtifactBase
Methods inherited from Base
Methods inherited from Config::Directive::Base
#clone, #encode_with, #initialize
Constructor Details
This class inherits a constructor from Dapp::Dimg::Config::Directive::ArtifactBase
Instance Attribute Details
#_as ⇒ Object (readonly)
Returns the value of attribute _as.
6 7 8 |
# File 'lib/dapp/dimg/config/directive/git_artifact_local.rb', line 6 def _as @_as end |
Instance Method Details
#_export ⇒ Object
18 19 20 21 22 23 24 |
# File 'lib/dapp/dimg/config/directive/git_artifact_local.rb', line 18 def _export super do |export| export._as = @_as yield(export) if block_given? end end |
#as(value) ⇒ Object
8 9 10 |
# File 'lib/dapp/dimg/config/directive/git_artifact_local.rb', line 8 def as(value) @_as = value end |
#export(absolute_dir_path = '/', &blk) ⇒ Object Also known as: add
12 13 14 |
# File 'lib/dapp/dimg/config/directive/git_artifact_local.rb', line 12 def export(absolute_dir_path = '/', &blk) super end |