class BatchRename::Editor::DiffMerge
Constants
- PATH
Public Instance Methods
args()
click to toggle source
# File lib/batch_rename/editor/diff_merge.rb, line 14 def args args = ['--nosplash'] args << "-c=#{ caption }" if caption catalogs.each_with_index do |catalog, index| args << "-t#{ index+1 }=#{ catalog.title }" args << catalog.file_name end args end
launch!()
click to toggle source
# File lib/batch_rename/editor/diff_merge.rb, line 7 def launch! unless system(PATH, *args) raise(Editor::EditorNotFoundError.new(PATH)) end self end