Sha256: 6db90f534f697cde4d1bf3b36b6debcd88ef5829d766eb49c57f1fd72b009514

Contents?: true

Size: 455 Bytes

Versions: 15

Compression:

Stored size: 455 Bytes

Contents

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

        def call(env)
          # FIXME: This error should be categorized
          env[:ui].info(
            I18n.t(
              'vagrant_vcloud.will_not_destroy',
              name: env[:machine].name
            )
          )
          @app.call(env)
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
vagrant-vcloud-0.5.0 lib/vagrant-vcloud/action/message_will_not_destroy.rb
vagrant-vcloud-0.4.7 lib/vagrant-vcloud/action/message_will_not_destroy.rb
vagrant-vcloud-0.4.6 lib/vagrant-vcloud/action/message_will_not_destroy.rb
vagrant-vcloud-0.4.4 lib/vagrant-vcloud/action/message_will_not_destroy.rb
vagrant-vcloud-0.4.3 lib/vagrant-vcloud/action/message_will_not_destroy.rb
vagrant-vcloud-0.4.2 lib/vagrant-vcloud/action/message_will_not_destroy.rb
vagrant-vcloud-0.4.1 lib/vagrant-vcloud/action/message_will_not_destroy.rb
vagrant-vcloud-0.4.0 lib/vagrant-vcloud/action/message_will_not_destroy.rb
vagrant-vcloud-0.3.3 lib/vagrant-vcloud/action/message_will_not_destroy.rb
vagrant-vcloud-0.3.2 lib/vagrant-vcloud/action/message_will_not_destroy.rb
vagrant-vcloud-0.3.1 lib/vagrant-vcloud/action/message_will_not_destroy.rb
vagrant-vcloud-0.3.0 lib/vagrant-vcloud/action/message_will_not_destroy.rb
vagrant-vcloud-0.2.2 lib/vagrant-vcloud/action/message_will_not_destroy.rb
vagrant-vcloud-0.2.1 lib/vagrant-vcloud/action/message_will_not_destroy.rb
vagrant-vcloud-0.2.0 lib/vagrant-vcloud/action/message_will_not_destroy.rb