Method: Docker::Compose::Session#initialize

Defined in:
lib/docker/compose/session.rb

#initialize(shell = Backticks::Runner.new(buffered: [:stderr], interactive: true), dir: Dir.pwd, file: 'docker-compose.yml') ⇒ Session

Returns a new instance of Session.



30
31
32
33
34
35
36
# File 'lib/docker/compose/session.rb', line 30

def initialize(shell = Backticks::Runner.new(buffered: [:stderr], interactive: true),
               dir: Dir.pwd, file: 'docker-compose.yml')
  @shell = shell
  @dir = dir
  @file = file
  @last_command = nil
end