Class: Matrixeval::DockerCompose::Extend
- Inherits:
-
Object
- Object
- Matrixeval::DockerCompose::Extend
- Defined in:
- lib/matrixeval/docker_compose/extend.rb
Instance Method Summary collapse
-
#initialize(config) ⇒ Extend
constructor
A new instance of Extend.
- #services ⇒ Object
- #volumes ⇒ Object
Constructor Details
#initialize(config) ⇒ Extend
Returns a new instance of Extend.
5 6 7 |
# File 'lib/matrixeval/docker_compose/extend.rb', line 5 def initialize(config) @config = config || {} end |
Instance Method Details
#services ⇒ Object
13 14 15 |
# File 'lib/matrixeval/docker_compose/extend.rb', line 13 def services @config["services"] || {} end |
#volumes ⇒ Object
9 10 11 |
# File 'lib/matrixeval/docker_compose/extend.rb', line 9 def volumes @config["volumes"] || {} end |