Sha256: 018ff58b85cde654fed12ee3941d68b6df6bea76625bf8cf30e16ae20a7bc0f7
Contents?: true
Size: 544 Bytes
Versions: 33
Compression:
Stored size: 544 Bytes
Contents
#view contents of a tinker applet def viewappletcontents require 'fileutils' require 'lib/zip/zip' nametext = "%s" % [@a_installapplet] begin # exception trapped block fullname = nametext + ".zip" fileName = File.join($zipslocation,fullname) tempfilecontents = " " zf = Zip::ZipFile.new(fileName) 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
33 entries across 33 versions & 13 rubygems