Sha256: 8b39081010215514079174a66917581c44a75cb38d857ddbb5d28a2ca3ad2ad7

Contents?: true

Size: 361 Bytes

Versions: 2

Compression:

Stored size: 361 Bytes

Contents

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-cloudstack-1.3.0 lib/vagrant-cloudstack/action/message_will_not_destroy.rb
vagrant-cloudstack-1.2.0 lib/vagrant-cloudstack/action/message_will_not_destroy.rb