Sha256: bb04f076d3864988b1970a46080904444d5af4f04cd9aba0177605402a47817f
Contents?: true
Size: 545 Bytes
Versions: 36
Compression:
Stored size: 545 Bytes
Contents
def viewgemappletcontents require 'fileutils' require 'extras/zip/zip' nametext = "%s" % [@a_installapplet] begin # exception trapped block fullname = nametext + ".zip" tempfilecontents = " " zf = Zip::ZipFile.new(fullname) zf.sort.each { |entry| tempfilecontents = tempfilecontents + entry.to_s + "\n" } @appletcontentstext = tempfilecontents rescue @installapplettext = "unzip error - error opening applet" end # exception rescue end
Version data entries
36 entries across 36 versions & 10 rubygems