Class: Boxes::Command::Env::Clean

Inherits:
Boxes::Command::Env show all
Defined in:
lib/boxes/command/env.rb

Overview

Tidies up the working environment

Instance Method Summary collapse

Instance Method Details

#runObject



42
43
44
45
46
# File 'lib/boxes/command/env.rb', line 42

def run
  working_dir = Boxes.config.working_dir

  FileUtils.rm_rf(working_dir) if working_dir.exist?
end