Class: Dabcup::Operation::Clean

Inherits:
Base
  • Object
show all
Defined in:
lib/dabcup/operation/clean.rb

Instance Attribute Summary

Attributes inherited from Base

#database

Instance Method Summary collapse

Methods inherited from Base

#best_dumps_path, #best_local_dumps_path, #check, #initialize, #remove_local_dump?, #same_ssh_as_database?, #terminate

Constructor Details

This class inherits a constructor from Dabcup::Operation::Base

Instance Method Details

#run(args) ⇒ Object



4
5
6
7
# File 'lib/dabcup/operation/clean.rb', line 4

def run(args)
  clean_storage(main_storage)
  clean_storage(spare_storage) if spare_storage
end