Method: Zip::ZipFileSystem::ZipFileNameMapper#rename

Defined in:
lib/pik/contrib/zip/zipfilesystem.rb

#rename(fileName, newName, &continueOnExistsProc) ⇒ Object



569
570
571
572
# File 'lib/pik/contrib/zip/zipfilesystem.rb', line 569

def rename(fileName, newName, &continueOnExistsProc)
  @zipFile.rename(expand_to_entry(fileName), expand_to_entry(newName), 
                  &continueOnExistsProc)
end