Class: Cleaner::Actions::Delete

Inherits:
Cleaner::Action show all
Defined in:
lib/cleaner/actions/delete.rb

Instance Attribute Summary

Attributes inherited from Cleaner::Action

#files, #options

Instance Method Summary collapse

Methods inherited from Cleaner::Action

#initialize

Constructor Details

This class inherits a constructor from Cleaner::Action

Instance Method Details

#executeObject



4
5
6
# File 'lib/cleaner/actions/delete.rb', line 4

def execute
  FileUtils.rm_rf(files)
end