Sha256: b3f9790d6f3320aa8224a386a27a7fa917fe9cd800fa2cd4c27526a13638d5a8
Contents?: true
Size: 407 Bytes
Versions: 61
Compression:
Stored size: 407 Bytes
Contents
require 'fileutils' module Vagrant class Action module Box class Destroy def initialize(app, env) @app = app @env = env end def call(env) env.ui.info I18n.t("vagrant.actions.box.destroy.destroying", :name => env["box"].name) FileUtils.rm_rf(env["box"].directory) @app.call(env) end end end end end
Version data entries
61 entries across 61 versions & 5 rubygems