Sha256: 6adc327c386e5243702bc7eb7881003dbd62b656c4351ff30edc794aafa81dae

Contents?: true

Size: 412 Bytes

Versions: 4

Compression:

Stored size: 412 Bytes

Contents

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vagrant-vcloudair-0.5.3 lib/vagrant-vcloudair/action/message_will_not_destroy.rb
vagrant-vcloudair-0.5.2 lib/vagrant-vcloudair/action/message_will_not_destroy.rb
vagrant-vcloudair-0.5.1 lib/vagrant-vcloudair/action/message_will_not_destroy.rb
vagrant-vcloudair-0.5.0 lib/vagrant-vcloudair/action/message_will_not_destroy.rb