Sha256: 63515a37c1513e7229a21cc81d8fa73f296817852b8e436d9814a7ef05921f94
Contents?: true
Size: 418 Bytes
Versions: 49
Compression:
Stored size: 418 Bytes
Contents
module Vagrant class Action module General # Simply validates the configuration of the current Vagrant # environment. class Validate def initialize(app, env) @app = app @env = env end def call(env) @env["config"].validate! if !@env.has_key?("validate") || @env["validate"] @app.call(@env) end end end end end
Version data entries
49 entries across 49 versions & 5 rubygems