Class: Dev::Docker::Artifact
- Defined in:
- lib/firespring_dev_commands/docker/artifact.rb
Overview
Contains the local path and container path for and artifact that should be copied back to the user’s local systea
Instance Attribute Summary collapse
-
#container_path ⇒ Object
Returns the value of attribute container_path.
-
#local_path ⇒ Object
Returns the value of attribute local_path.
Instance Method Summary collapse
-
#initialize(container_path:, local_path:) ⇒ Artifact
constructor
A new instance of Artifact.
Constructor Details
#initialize(container_path:, local_path:) ⇒ Artifact
Returns a new instance of Artifact.
7 8 9 10 |
# File 'lib/firespring_dev_commands/docker/artifact.rb', line 7 def initialize(container_path:, local_path:) @container_path = container_path @local_path = local_path end |
Instance Attribute Details
#container_path ⇒ Object
Returns the value of attribute container_path.
5 6 7 |
# File 'lib/firespring_dev_commands/docker/artifact.rb', line 5 def container_path @container_path end |
#local_path ⇒ Object
Returns the value of attribute local_path.
5 6 7 |
# File 'lib/firespring_dev_commands/docker/artifact.rb', line 5 def local_path @local_path end |