Class: Vagrant::LXC::Action::Destroy
- Inherits:
-
BaseAction
- Object
- BaseAction
- Vagrant::LXC::Action::Destroy
- Defined in:
- lib/vagrant-lxc/action/destroy.rb
Instance Method Summary collapse
Methods inherited from BaseAction
Constructor Details
This class inherits a constructor from Vagrant::LXC::Action::BaseAction
Instance Method Details
#call(env) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/vagrant-lxc/action/destroy.rb', line 5 def call(env) env[:ui].info I18n.t("vagrant.actions.vm.destroy.destroying") env[:machine].provider.container.destroy env[:machine].id = nil @app.call env end |