Class: Matrixeval::Context::BuildDockerComposeExtend
- Inherits:
-
Object
- Object
- Matrixeval::Context::BuildDockerComposeExtend
- Defined in:
- lib/matrixeval/context/build_docker_compose_extend.rb
Instance Attribute Summary collapse
-
#context ⇒ Object
readonly
Returns the value of attribute context.
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(context) ⇒ BuildDockerComposeExtend
constructor
A new instance of BuildDockerComposeExtend.
- #matrix_combination_id ⇒ Object
Constructor Details
#initialize(context) ⇒ BuildDockerComposeExtend
Returns a new instance of BuildDockerComposeExtend.
15 16 17 |
# File 'lib/matrixeval/context/build_docker_compose_extend.rb', line 15 def initialize(context) @context = context end |
Instance Attribute Details
#context ⇒ Object (readonly)
Returns the value of attribute context.
13 14 15 |
# File 'lib/matrixeval/context/build_docker_compose_extend.rb', line 13 def context @context end |
Class Method Details
.call(context) ⇒ Object
8 9 10 |
# File 'lib/matrixeval/context/build_docker_compose_extend.rb', line 8 def call(context) new(context).call end |
Instance Method Details
#call ⇒ Object
23 24 25 |
# File 'lib/matrixeval/context/build_docker_compose_extend.rb', line 23 def call DockerCompose::Extend.new(docker_compose_extend) end |
#matrix_combination_id ⇒ Object
19 20 21 |
# File 'lib/matrixeval/context/build_docker_compose_extend.rb', line 19 def matrix_combination_id context.id end |