Class: MetaModel::Command::Clean

Inherits:
Command
  • Object
show all
Defined in:
lib/metamodel/command/clean.rb

Instance Method Summary collapse

Constructor Details

#initialize(argv) ⇒ Clean

Returns a new instance of Clean.



13
14
15
# File 'lib/metamodel/command/clean.rb', line 13

def initialize(argv)
  super
end

Instance Method Details

#run ⇒ Object



17
18
19
20
21
22
23
# File 'lib/metamodel/command/clean.rb', line 17

def run
  UI.section "Removing MetaModel project" do
    FileUtils.rm_rf 'MetaModel'
    FileUtils.rm_rf 'MetaModel.framework'
    UI.message "Already clean up the whole MetaModel project from current folder"
  end
end