Sha256: 12363879edd6bbdbe4747dc574a335269918a7f546da61c729f9f155609fc335
Contents?: true
Size: 379 Bytes
Versions: 3
Compression:
Stored size: 379 Bytes
Contents
module VagrantPlugins module DockerProvider module Action class IsRunning def initialize(app, env) @app = app end def call(env) machine = env[:machine] driver = machine.provider.driver env[:result] = driver.running?(machine.id) @app.call(env) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems