Sha256: 06b5eae350efe4a73c4ac45e29c23a2d2611b66e704440a724480f73a8e401a3
Contents?: true
Size: 982 Bytes
Versions: 33
Compression:
Stored size: 982 Bytes
Contents
# This tinker method is to retrieve the list of rwdzip applets available to install from the remote repository def superantcomremotegemlist gemcommandoption = "search --remote " gemfilename = "rwdzip" commandtext = "gem search --remote rwdzip" commandtemp = $xpcommand + commandtext begin # exception trapped block tempremotegemappletsresult = `#{commandtemp} 2>&1` @superantcomremotegemappletsfullresult = tempremotegemappletsresult fileList = tempremotegemappletsresult.split(/\n/).delete_if { |x| ! (x =~ /\Arwdzip/) } @superantcomremotegemappletsresult = fileList.rwd_method("superantcomremotegemappletdirsname") rescue SystemCallError, StandardError @superantcomremotegemappletsresult = "system call error: " + $! end # exception rescue end def superantcomremotegemappletdirsname(inffile) applet = inffile @superantcominstallremoteappletinput = applet end
Version data entries
33 entries across 33 versions & 10 rubygems