class Vagrant::LXC::Action::Destroy
Public Class Methods
new(app, env)
click to toggle source
# File lib/vagrant-lxc/action/destroy.rb, line 5 def initialize(app, env) @app = app end
Public Instance Methods
call(env)
click to toggle source
# File lib/vagrant-lxc/action/destroy.rb, line 9 def call(env) env[:ui].info I18n.t("vagrant.actions.vm.destroy.destroying") env[:machine].provider.driver.destroy env[:machine].id = nil @app.call env end