Sha256: 7d13e75ff10409cdb3810ebdd173b51bf512f00cdcba9b2541ddfed4da425e26

Contents?: true

Size: 444 Bytes

Versions: 31

Compression:

Stored size: 444 Bytes

Contents

require "vagrant/action/builtin/confirm"

module Vagrant
  module LXC
    module Action
      class DestroyConfirm < Vagrant::Action::Builtin::Confirm
        def initialize(app, env)
          force_key = :force_confirm_destroy
          message   = I18n.t("vagrant.commands.destroy.confirmation",
                             :name => env[:machine].name)

          super(app, env, message, force_key)
        end
      end
    end
  end
end

Version data entries

31 entries across 31 versions & 2 rubygems

Version Path
vagrant-lxc-1.4.3 lib/vagrant-lxc/action/destroy_confirm.rb
vagrant-lxc-1.4.2 lib/vagrant-lxc/action/destroy_confirm.rb
vagrant-lxc-1.4.1 lib/vagrant-lxc/action/destroy_confirm.rb
vagrant-lxc-2.1-patch-1.4.0 lib/vagrant-lxc/action/destroy_confirm.rb
vagrant-lxc-1.4.0 lib/vagrant-lxc/action/destroy_confirm.rb
vagrant-lxc-1.3.1 lib/vagrant-lxc/action/destroy_confirm.rb
vagrant-lxc-1.3.0 lib/vagrant-lxc/action/destroy_confirm.rb
vagrant-lxc-1.2.4 lib/vagrant-lxc/action/destroy_confirm.rb
vagrant-lxc-1.2.3 lib/vagrant-lxc/action/destroy_confirm.rb
vagrant-lxc-1.2.2 lib/vagrant-lxc/action/destroy_confirm.rb
vagrant-lxc-1.2.1 lib/vagrant-lxc/action/destroy_confirm.rb
vagrant-lxc-1.2.0 lib/vagrant-lxc/action/destroy_confirm.rb
vagrant-lxc-1.1.0 lib/vagrant-lxc/action/destroy_confirm.rb
vagrant-lxc-1.0.1 lib/vagrant-lxc/action/destroy_confirm.rb
vagrant-lxc-1.0.0 lib/vagrant-lxc/action/destroy_confirm.rb
vagrant-lxc-1.0.0.alpha.3 lib/vagrant-lxc/action/destroy_confirm.rb
vagrant-lxc-1.0.0.alpha.2 lib/vagrant-lxc/action/destroy_confirm.rb
vagrant-lxc-1.0.0.alpha.1 lib/vagrant-lxc/action/destroy_confirm.rb
vagrant-lxc-0.8.0 lib/vagrant-lxc/action/destroy_confirm.rb
vagrant-lxc-0.7.0 lib/vagrant-lxc/action/destroy_confirm.rb