Sha256: 746ee2afa573dcb4ec2ce6eb8bcd6bfc027c6f176c41f3bdf47604f4e8a4b32a
Contents?: true
Size: 596 Bytes
Versions: 31
Compression:
Stored size: 596 Bytes
Contents
module VagrantPlugins module Parallels module Action # Checks that Parallels is installed and ready to be used. class CheckParallels def initialize(app, env) @app = app end def call(env) # This verifies that Parallels is installed and the driver is # ready to function. If not, then an exception will be raised # which will break us out of execution of the middleware sequence. env[:machine].provider.driver.verify! # Carry on. @app.call(env) end end end end end
Version data entries
31 entries across 31 versions & 1 rubygems