Sha256: 0c55f86c9e13f37403e865f7c20176994d8c3d08616999cbd3524a2a81491f4e
Contents?: true
Size: 620 Bytes
Versions: 11
Compression:
Stored size: 620 Bytes
Contents
# code in install rwdtinker applets - now uses ruby.zip module def installapplet nametext = "%s" % [@a_installapplet] begin # exception trapped block require 'extras/zip/zip' fullname = nametext + ".zip" fileName = File.join($zipslocation,fullname) zf = Zip::ZipFile.new(fileName) zf.sort.each { |entry| zf.extract(entry.to_s, entry.to_s) } @returninitateresults = initiateapplet(nametext) @installapplettext = Message[:applet_installed] + " " + @returninitateresults rescue @installapplettext = "unzip error - applet may not be installed correctly" end # exception rescue end
Version data entries
11 entries across 11 versions & 5 rubygems