Class: Boxes::Command::Env::Clean
- Inherits:
-
Boxes::Command::Env
- Object
- CLAide::Command
- Boxes::Command
- Boxes::Command::Env
- Boxes::Command::Env::Clean
- Defined in:
- lib/boxes/command/env.rb
Overview
Tidies up the working environment
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
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 |