Class: Dapp::Dimg::Config::Directive::Artifact
- Inherits:
-
ArtifactBase
- Object
- Config::Base
- Config::Directive::Base
- Base
- ArtifactBase
- Dapp::Dimg::Config::Directive::Artifact
- Defined in:
- lib/dapp/dimg/config/directive/artifact.rb
Defined Under Namespace
Classes: Export
Instance Attribute Summary collapse
-
#_config ⇒ Object
readonly
Returns the value of attribute _config.
Attributes inherited from ArtifactBase
Instance Method Summary collapse
- #_export ⇒ Object
-
#initialize(config:, **kwargs, &blk) ⇒ Artifact
constructor
A new instance of Artifact.
Constructor Details
#initialize(config:, **kwargs, &blk) ⇒ Artifact
Returns a new instance of Artifact.
8 9 10 11 12 |
# File 'lib/dapp/dimg/config/directive/artifact.rb', line 8 def initialize(config:, **kwargs, &blk) @_config = config super(**kwargs, &blk) end |
Instance Attribute Details
#_config ⇒ Object (readonly)
Returns the value of attribute _config.
6 7 8 |
# File 'lib/dapp/dimg/config/directive/artifact.rb', line 6 def _config @_config end |
Instance Method Details
#_export ⇒ Object
14 15 16 17 18 19 20 |
# File 'lib/dapp/dimg/config/directive/artifact.rb', line 14 def _export super do |export| export._before ||= @_before export._after ||= @_after export._config = _config end end |