Class: Matrixeval::DockerCompose::Extend

Inherits:
Object
  • Object
show all
Defined in:
lib/matrixeval/docker_compose/extend.rb

Instance Method Summary collapse

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

#servicesObject



13
14
15
# File 'lib/matrixeval/docker_compose/extend.rb', line 13

def services
  @config["services"] || {}
end

#volumesObject



9
10
11
# File 'lib/matrixeval/docker_compose/extend.rb', line 9

def volumes
  @config["volumes"] || {}
end