Sha256: 38bccb61217d1d88c9c1834257969c3d6a020ea6a2f8a36c2ba56816940e9eca

Contents?: true

Size: 197 Bytes

Versions: 3

Compression:

Stored size: 197 Bytes

Contents

require 'zip/zip'

def zip_entries file # to wrap this crap
  result = []  
  Zip::ZipFile.open file do |z|
    z.map do |entry|
      result << entry.name # !entry.file?
    end
  end
  result
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
real_zip-0.0.8 spec/support/zip_entries.rb.rb
fake_zip-0.0.2 spec/support/zip_entries.rb.rb
fake_zip-0.0.1 spec/support/zip_entries.rb.rb