Sha256: 0d5b7a6cd007d72a3a51f8e7edfead3a2d00a03c8a7c70ccd0940d4558ff9c71
Contents?: true
Size: 487 Bytes
Versions: 49
Compression:
Stored size: 487 Bytes
Contents
#view gem info 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
49 entries across 49 versions & 11 rubygems