module WolfCore::FileUtils
def delete_files(*args)
def delete_files(*args) pattern = File.join(*args) files_to_delete = Dir.glob(pattern) files_to_delete.each do |file| File.delete(file) log_object "File deleted: #{file}" end log_object "File Deleting Process Finished! (#{files_to_delete.size} files deleted)" end