Class: SMPTool::CLI::Executor::Deleter
- Inherits:
-
VolReadWriteOperator
- Object
- VolReadOperator
- VolReadWriteOperator
- SMPTool::CLI::Executor::Deleter
- Includes:
- SqueezeMixin
- Defined in:
- lib/smp_tool/cli/executor/deleter.rb
Instance Method Summary collapse
Methods inherited from VolReadOperator
Constructor Details
This class inherits a constructor from SMPTool::CLI::Executor::VolReadOperator
Instance Method Details
#call ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/smp_tool/cli/executor/deleter.rb', line 9 def call @options[:f_list].each do |file| fn = @volume.f_delete(file) @logger.info "File '#{fn}' was deleted from the volume" end @logger.es_info "#{@options[:f_list].length} files were deleted from the volume" _squeeze if @options[:squeeze] super end |