Class: VagrantPlugins::ProviderKvm::Action::DestroyConfirm
- Inherits:
-
Vagrant::Action::Builtin::Confirm
- Object
- Vagrant::Action::Builtin::Confirm
- VagrantPlugins::ProviderKvm::Action::DestroyConfirm
- Defined in:
- lib/vagrant-kvm/action/destroy_confirm.rb
Instance Method Summary collapse
-
#initialize(app, env) ⇒ DestroyConfirm
constructor
A new instance of DestroyConfirm.
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 = I18n.t("vagrant.commands.destroy.confirmation", :name => env[:machine].name) super(app, env, , force_key) end |