class Zip::ZipCentralDirectory
Constants
- END_OF_CENTRAL_DIRECTORY_SIGNATURE
- MAX_END_OF_CENTRAL_DIRECTORY_STRUCTURE_SIZE
- STATIC_EOCD_SIZE
Attributes
comment[R]
Public Instance Methods
each(&proc)
click to toggle source
For iterating over the entries.
# File lib/zip/zip.rb, line 1264 def each(&proc) @entrySet.each(&proc) end
entries()
click to toggle source
Returns an Enumerable containing the entries.
# File lib/zip/zip.rb, line 1166 def entries @entrySet.entries end
size()
click to toggle source
Returns the number of entries in the central directory (and consequently in the zip archive).
# File lib/zip/zip.rb, line 1270 def size @entrySet.size end