Class: Dapp::Dimg::Config::Directive::Artifact::Export
- Inherits:
-
Dapp::Dimg::Config::Directive::ArtifactBase::Export
- Object
- Config::Directive::Base
- Base
- Dapp::Dimg::Config::Directive::ArtifactBase::Export
- Dapp::Dimg::Config::Directive::Artifact::Export
- Defined in:
- lib/dapp/dimg/config/directive/artifact.rb
Instance Attribute Summary collapse
-
#_after ⇒ Object
Returns the value of attribute _after.
-
#_before ⇒ Object
Returns the value of attribute _before.
-
#_config ⇒ Object
Returns the value of attribute _config.
Attributes inherited from Dapp::Dimg::Config::Directive::ArtifactBase::Export
#_cwd, #_exclude_paths, #_group, #_include_paths, #_owner, #_to
Instance Method Summary collapse
Methods inherited from Dapp::Dimg::Config::Directive::ArtifactBase::Export
#_artifact_options, #exclude_paths, #group, #include_paths, #initialize, #owner, #to, #validate!
Methods inherited from Base
Methods inherited from Config::Directive::Base
Constructor Details
This class inherits a constructor from Dapp::Dimg::Config::Directive::ArtifactBase::Export
Instance Attribute Details
#_after ⇒ Object
Returns the value of attribute _after.
23 24 25 |
# File 'lib/dapp/dimg/config/directive/artifact.rb', line 23 def _after @_after end |
#_before ⇒ Object
Returns the value of attribute _before.
23 24 25 |
# File 'lib/dapp/dimg/config/directive/artifact.rb', line 23 def _before @_before end |
#_config ⇒ Object
Returns the value of attribute _config.
22 23 24 |
# File 'lib/dapp/dimg/config/directive/artifact.rb', line 22 def _config @_config end |
Instance Method Details
#after(stage) ⇒ Object
33 34 35 36 37 38 39 |
# File 'lib/dapp/dimg/config/directive/artifact.rb', line 33 def after(stage) sub_directive_eval do stage = stage.to_sym associate_validation!(:after, stage, @_after) @_after = stage end end |
#before(stage) ⇒ Object
25 26 27 28 29 30 31 |
# File 'lib/dapp/dimg/config/directive/artifact.rb', line 25 def before(stage) sub_directive_eval do stage = stage.to_sym associate_validation!(:before, stage, @_before) @_before = stage end end |
#not_associated? ⇒ Boolean
41 42 43 |
# File 'lib/dapp/dimg/config/directive/artifact.rb', line 41 def not_associated? (_before || _after).nil? end |