Class: Matrixeval::DockerCompose::ExtendRaw

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

Instance Method Summary collapse

Constructor Details

#initialize(config) ⇒ ExtendRaw

Returns a new instance of ExtendRaw.



5
6
7
# File 'lib/matrixeval/docker_compose/extend_raw.rb', line 5

def initialize(config)
  @config = config || {}
end

Instance Method Details

#contentObject



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

def content
  @config.to_json
end