Sha256: 1f8c9cd48f987140911750d7510b7fdd33540264987c61320e826f275a3ee6d2
Contents?: true
Size: 452 Bytes
Versions: 5
Compression:
Stored size: 452 Bytes
Contents
module Vagrant module Backports module Action # This middleware simply outputs a message to the UI. class Message def initialize(app, env, message, **opts) @app = app @message = message end def call(env) env[:ui].info(@message) @app.call(env) end end end end end Vagrant::Action::Builtin.const_set :Message, Vagrant::Backports::Action::Message
Version data entries
5 entries across 5 versions & 1 rubygems