Class: Dabcup::Operation::Clear
- Defined in:
- lib/dabcup/operation/clear.rb
Instance Attribute Summary
Attributes inherited from Base
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/clear.rb', line 4 def run(args) main_storage.clear spare_storage.clear if spare_storage end |