Sha256: 91f5e221afd664cf989a883f7d58483df5e25925ef200a0739946395b62e9d31
Contents?: true
Size: 769 Bytes
Versions: 6
Compression:
Stored size: 769 Bytes
Contents
# install rwdtinker applet from a long directory location def installgemapplet require 'fileutils' require 'extras/zip/zip' nametext = "%s" % [@a_installapplet] begin # exception trapped block fullname = nametext + ".zip" zf = Zip::ZipFile.new(fullname) zf.sort.each { |entry| zf.extract(entry.to_s, entry.to_s) } rescue if $DEBUG $stderr.puts "unzip error - applet may not be installed correctly" end @installapplettext = " .. " end # exception rescue @nametextbase = File.basename(nametext) @returninitateresults = initiateapplet(@nametextbase) @installapplettext = Message[:applet_installed] + " " + @returninitateresults RWDWindow.new($rwd_gui_tinker, @rwd_window).render("DEFAULT") end
Version data entries
6 entries across 6 versions & 4 rubygems