Sha256: a04c20b906f19aa7e72c8f3af0536bffba989d97012678e07bbcc299dff0371d

Contents?: true

Size: 343 Bytes

Versions: 9

Compression:

Stored size: 343 Bytes

Contents

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

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

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
vagrant-openstack-plugin-tom-0.12.0 lib/vagrant-openstack-plugin/action/message_will_not_destroy.rb
vagrant-openstack-plugin-0.12.0 lib/vagrant-openstack-plugin/action/message_will_not_destroy.rb
vagrant-openstack-plugin-0.11.1 lib/vagrant-openstack-plugin/action/message_will_not_destroy.rb
vagrant-openstack-plugin-0.11.0 lib/vagrant-openstack-plugin/action/message_will_not_destroy.rb
vagrant-openstack-plugin-0.10.0 lib/vagrant-openstack-plugin/action/message_will_not_destroy.rb
vagrant-openstack-plugin-0.9.1 lib/vagrant-openstack-plugin/action/message_will_not_destroy.rb
vagrant-openstack-plugin-0.9.0 lib/vagrant-openstack-plugin/action/message_will_not_destroy.rb
vagrant-openstack-plugin-0.8.0 lib/vagrant-openstack-plugin/action/message_will_not_destroy.rb
vagrant-openstack-plugin-0.7.0 lib/vagrant-openstack-plugin/action/message_will_not_destroy.rb