Class: KuberKit::Core::Artifacts::AbstractArtifact
- Includes:
- Extensions::Inspectable
- Defined in:
- lib/kuber_kit/core/artifacts/abstract_artifact.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(artifact_name) ⇒ AbstractArtifact
constructor
A new instance of AbstractArtifact.
- #namespace ⇒ Object
Methods included from Extensions::Inspectable
Constructor Details
#initialize(artifact_name) ⇒ AbstractArtifact
Returns a new instance of AbstractArtifact.
6 7 8 |
# File 'lib/kuber_kit/core/artifacts/abstract_artifact.rb', line 6 def initialize(artifact_name) @name = artifact_name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/kuber_kit/core/artifacts/abstract_artifact.rb', line 4 def name @name end |
Instance Method Details
#namespace ⇒ Object
10 11 12 |
# File 'lib/kuber_kit/core/artifacts/abstract_artifact.rb', line 10 def namespace raise KuberKit::NotImplementedError, "must be implemented" end |