Sha256: 881475de9dc80bc439ef3ce960b2ae17747b08b5ad363bb37d7cecc8052ab800

Contents?: true

Size: 331 Bytes

Versions: 57

Compression:

Stored size: 331 Bytes

Contents

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

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

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
vagrant-mcs-0.8.39 lib/vagrant-mcs/action/message_will_not_destroy.rb
vagrant-mcs-0.8.38 lib/vagrant-mcs/action/message_will_not_destroy.rb
vagrant-mcs-0.8.37 lib/vagrant-mcs/action/message_will_not_destroy.rb
vagrant-mcs-0.8.36 lib/vagrant-mcs/action/message_will_not_destroy.rb
vagrant-mcs-0.8.35 lib/vagrant-mcs/action/message_will_not_destroy.rb
vagrant-mcs-0.8.34 lib/vagrant-mcs/action/message_will_not_destroy.rb
vagrant-mcs-0.8.33 lib/vagrant-mcs/action/message_will_not_destroy.rb
vagrant-mcs-0.8.32 lib/vagrant-mcs/action/message_will_not_destroy.rb
vagrant-mcs-0.8.31 lib/vagrant-mcs/action/message_will_not_destroy.rb
vagrant-mcs-0.8.30 lib/vagrant-mcs/action/message_will_not_destroy.rb
vagrant-mcs-0.8.29 lib/vagrant-mcs/action/message_will_not_destroy.rb
vagrant-mcs-0.8.28 lib/vagrant-mcs/action/message_will_not_destroy.rb
vagrant-mcs-0.8.27 lib/vagrant-mcs/action/message_will_not_destroy.rb
vagrant-mcs-0.8.26 lib/vagrant-mcs/action/message_will_not_destroy.rb
vagrant-mcs-0.8.25 lib/vagrant-mcs/action/message_will_not_destroy.rb
vagrant-mcs-0.8.24 lib/vagrant-mcs/action/message_will_not_destroy.rb
vagrant-mcs-0.8.23 lib/vagrant-mcs/action/message_will_not_destroy.rb
vagrant-mcs-0.8.22 lib/vagrant-mcs/action/message_will_not_destroy.rb
vagrant-mcs-0.8.21 lib/vagrant-mcs/action/message_will_not_destroy.rb
vagrant-mcs-0.8.20 lib/vagrant-mcs/action/message_will_not_destroy.rb