Sha256: 2f7db4489082569d98a6f60ed59f274ccaf74bb40d428dc7c7d99f21360686f5

Contents?: true

Size: 394 Bytes

Versions: 1

Compression:

Stored size: 394 Bytes

Contents

require 'vagrant-openstack-illuin-provider/action/abstract_action'

module VagrantPlugins
  module Openstack
    module Action
      class Message < AbstractAction
        def initialize(app, _env, message)
          @app = app
          @message = message
        end

        def execute(env)
          env[:ui].info(@message)
          @app.call(env)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vagrant-openstack-illuin-provider-0.12.0 lib/vagrant-openstack-illuin-provider/action/message.rb