Sha256: c501c18bb28a3d397f159324ebd23fd619602a294e33f988500d739638e274ad

Contents?: true

Size: 335 Bytes

Versions: 7

Compression:

Stored size: 335 Bytes

Contents

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

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
vagrant-xhyve-0.4.1 lib/vagrant-xhyve/action/message_will_not_destroy.rb
vagrant-xhyve-0.4.0 lib/vagrant-xhyve/action/message_will_not_destroy.rb
vagrant-xhyve-0.3.0 lib/vagrant-xhyve/action/message_will_not_destroy.rb
vagrant-xhyve-0.2.0 lib/vagrant-xhyve/action/message_will_not_destroy.rb
vagrant-xhyve-0.1.1 lib/vagrant-xhyve/action/message_will_not_destroy.rb
vagrant-xhyve-0.1.1.pre lib/vagrant-xhyve/action/message_will_not_destroy.rb
vagrant-xhyve-0.1.0.pre lib/vagrant-xhyve/action/message_will_not_destroy.rb