Sha256: ee047d08c0f8968d3ff4232e2288bf34bc3bab6142512d5aa63155dbf8053ddc
Contents?: true
Size: 507 Bytes
Versions: 31
Compression:
Stored size: 507 Bytes
Contents
module VagrantPlugins module Parallels module Action class Created def initialize(app, env) @app = app end def call(env) # Set the result to be true if the machine is created. env[:result] = (env[:machine].state.id != :not_created) # Call the next if we have one (but we shouldn't, since this # middleware is built to run with the Call-type middlewares) @app.call(env) end end end end end
Version data entries
31 entries across 31 versions & 1 rubygems