Method: Docker::Compose::Session#config
- Defined in:
- lib/docker/compose/session.rb
#config(*args) ⇒ Hash
Validate docker-compose file and return it as Hash
37 38 39 40 |
# File 'lib/docker/compose/session.rb', line 37 def config(*args) config = run!('config', *args) YAML.load(config) end |