Sha256: dea07d91240922c65a1d33b2b8ddce1d7784b1ae37774feeb4aa01e2f5e8cb46

Contents?: true

Size: 337 Bytes

Versions: 15

Compression:

Stored size: 337 Bytes

Contents

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

        def call(env)
          env[:ui].info(I18n.t("vagrant_skytap.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-skytap-0.2.3 lib/vagrant-skytap/action/message_will_not_destroy.rb
vagrant-skytap-0.2.2 lib/vagrant-skytap/action/message_will_not_destroy.rb
vagrant-skytap-0.2.1 lib/vagrant-skytap/action/message_will_not_destroy.rb
vagrant-skytap-0.2.0 lib/vagrant-skytap/action/message_will_not_destroy.rb
vagrant-skytap-0.1.11 lib/vagrant-skytap/action/message_will_not_destroy.rb
vagrant-skytap-0.1.10 lib/vagrant-skytap/action/message_will_not_destroy.rb
vagrant-skytap-0.1.9 lib/vagrant-skytap/action/message_will_not_destroy.rb
vagrant-skytap-0.1.8 lib/vagrant-skytap/action/message_will_not_destroy.rb
vagrant-skytap-0.1.7 lib/vagrant-skytap/action/message_will_not_destroy.rb
vagrant-skytap-0.1.6 lib/vagrant-skytap/action/message_will_not_destroy.rb
vagrant-skytap-0.1.5 lib/vagrant-skytap/action/message_will_not_destroy.rb
vagrant-skytap-0.1.4 lib/vagrant-skytap/action/message_will_not_destroy.rb
vagrant-skytap-0.1.3 lib/vagrant-skytap/action/message_will_not_destroy.rb
vagrant-skytap-0.1.2 lib/vagrant-skytap/action/message_will_not_destroy.rb
vagrant-skytap-0.1.1a lib/vagrant-skytap/action/message_will_not_destroy.rb