Class: VagrantPlugins::ProviderKvm::Action::DestroyConfirm

Inherits:
Vagrant::Action::Builtin::Confirm
  • Object
show all
Defined in:
lib/vagrant-kvm/action/destroy_confirm.rb

Instance Method Summary collapse

Constructor Details

#initialize(app, env) ⇒ DestroyConfirm

Returns a new instance of DestroyConfirm.



7
8
9
10
11
12
13
# File 'lib/vagrant-kvm/action/destroy_confirm.rb', line 7

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