Method: Zip::ZipFileSystem::ZipFsFile#chmod
- Defined in:
- lib/zip/zipfilesystem.rb
#chmod(modeInt, *filenames) ⇒ Object
264 265 266 267 268 269 270 271 |
# File 'lib/zip/zipfilesystem.rb', line 264 def chmod (modeInt, *filenames) filenames.each { |fileName| e = get_entry(fileName) e.fstype = 3 # force convertion filesystem type to unix e.externalFileAttributes = modeInt << 16 } filenames.size end |