Sha256: b8c23e9325343d776ffce5afb6dd5eaacec5db5ffa9a478d79850b25d1b14eaa

Contents?: true

Size: 341 Bytes

Versions: 8

Compression:

Stored size: 341 Bytes

Contents

module VagrantPlugins
  module Vmpooler
    module Action
      class MessageWillNotDestroy
        def initialize(app, env)
          @app = app
        end

        def call(env)
          env[:ui].info(I18n.t("vagrant_vmpooler.will_not_destroy", name: env[:machine].name))
          @app.call(env)
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
vagrant-vmpooler-0.2.0 lib/vagrant-vmpooler/action/message_will_not_destroy.rb
vagrant-vmpooler-0.1.9 lib/vagrant-vmpooler/action/message_will_not_destroy.rb
vagrant-vmpooler-0.1.8 lib/vagrant-vmpooler/action/message_will_not_destroy.rb
vagrant-vmpooler-0.1.7 lib/vagrant-vmpooler/action/message_will_not_destroy.rb
vagrant-vmpooler-0.1.6 lib/vagrant-vmpooler/action/message_will_not_destroy.rb
vagrant-vmpooler-0.1.5 lib/vagrant-vmpooler/action/message_will_not_destroy.rb
vagrant-vmpooler-0.1.4 lib/vagrant-vmpooler/action/message_will_not_destroy.rb
vagrant-vmpooler-0.1.2 lib/vagrant-vmpooler/action/message_will_not_destroy.rb