Method: Zip::ZipFileSystem::ZipFileNameMapper#each
- Defined in:
- lib/pik/contrib/zip/zipfilesystem.rb
#each ⇒ Object
Turns entries into strings and adds leading / and removes trailing slash on directories
580 581 582 583 584 585 |
# File 'lib/pik/contrib/zip/zipfilesystem.rb', line 580 def each @zipFile.each { |e| yield("/"+e.to_s.chomp("/")) } end |