Sha256: 70386e25b98f27e485b117a2716bf4a658ff31f0eddffeab5761368f3cc2bc98
Contents?: true
Size: 561 Bytes
Versions: 9
Compression:
Stored size: 561 Bytes
Contents
def installapplet require 'fileutils' require 'extras/zip/zip' nametext = "%s" % [@a_installapplet] begin # exception trapped block 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) } @installapplettext = Message[:applet_installed] rescue @installapplettext = "unzip error - applet may not be installed correctly" end # exception rescue end
Version data entries
9 entries across 9 versions & 6 rubygems