Class: Dabcup::Operation::Remove
- Defined in:
- lib/dabcup/operation/remove.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
#remove_from_storage(storage, name) ⇒ Object
10 11 12 |
# File 'lib/dabcup/operation/remove.rb', line 10 def remove_from_storage(storage, name) storage.delete(name) if storage.exists?(name) end |