Sha256: a1617b081c2bf6c7e53134424aae2d72e3d4c496f519c38121093f437f1b3caa
Contents?: true
Size: 458 Bytes
Versions: 40
Compression:
Stored size: 458 Bytes
Contents
module Vagrant module Action module Env # A middleware which just sets up the environment with some # options which are passed to it. class Set def initialize(app, env, options=nil) @app = app @options = options || {} end def call(env) # Merge the options that were given to us env.merge!(@options) @app.call(env) end end end end end
Version data entries
40 entries across 40 versions & 6 rubygems