Class: SMPTool::CLI::Executor::Renamer
- Inherits:
-
VolReadWriteOperator
- Object
- VolReadOperator
- VolReadWriteOperator
- SMPTool::CLI::Executor::Renamer
- Defined in:
- lib/smp_tool/cli/executor/renamer.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
7 8 9 10 11 12 |
# File 'lib/smp_tool/cli/executor/renamer.rb', line 7 def call fns = @volume.f_rename(@options[:old_fn], @options[:new_fn]) @logger.es_info "File '#{fns.first}' was renamed to '#{fns.last}'" super end |