Sha256: fccf8322fdc1e648c4679fa77f0b900044661f2fa9d9a8605980477b4e3b54d1

Contents?: true

Size: 349 Bytes

Versions: 3

Compression:

Stored size: 349 Bytes

Contents

module VagrantPlugins
  module DockerProvider
    module Action
      class Start
        def initialize(app, env)
          @app = app
        end

        def call(env)
          machine = env[:machine]
          driver  = machine.provider.driver
          driver.start(machine.id)
          @app.call(env)
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
docker-provider-0.1.0 lib/docker-provider/action/start.rb
docker-provider-0.0.2 lib/docker-provider/action/start.rb
docker-provider-0.0.1 lib/docker-provider/action/start.rb