Class: Jets::Commands::Clean::Build

Inherits:
Base
  • Object
show all
Defined in:
lib/jets/commands/clean/build.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Jets::Commands::Clean::Base

Instance Method Details

#cleanObject



5
6
7
8
9
10
11
# File 'lib/jets/commands/clean/build.rb', line 5

def clean
  are_you_sure?("delete /tmp/jets")

  say "Removing /tmp/jets..."
  FileUtils.rm_rf("/tmp/jets") unless @options[:noop]
  say "Removed /tmp/jets"
end