Sha256: 5633de001c46ff44838e10103c4cb77c0f2ff0bb9d8fe41bb2d10071a1509e57

Contents?: true

Size: 893 Bytes

Versions: 32

Compression:

Stored size: 893 Bytes

Contents

# this code is to list the zipped applets that can be installed

 
def fillziptoinstallname(inffile)
  applet                = inffile.gsub(/\.zip$/, "")
  @a_installapplet        = applet
  
end



  
def  listzipfilestoinstall
 startlangdir = File.join($progdir, $zipslocation )
 #get a list of the files and subdirectories on the starting directory only
      
    
        a = Array.new(Dir["#{startlangdir}/*"].entries.sort)
        
         #loop through and get the files names
         a.each do |x|
               # only zip files
                  if x =~ /\.zip/
                  #  puts "#{x}"        #adds the file to the array to display on the screen
                   $zipsarraylocal =  $zipsarraylocal | ["#{x}"] 
               end
              
             end
      
         @zipslistresult = $zipsarraylocal.rwd_method("fillziptoinstallname")
      end  

Version data entries

32 entries across 32 versions & 10 rubygems

Version Path
rwdshell-0.97 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdshell-0.96 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdtinker-1.56 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdtinker-1.57 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdtinker-1.59 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdtinker-1.61 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdtinker-1.54 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdtinker-1.60 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdtinker-1.58 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdtinker-1.55 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdtorrent-0.02 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdtorrent-0.01 code/superant.com.rwdtinkerbackwindow/listzips.rb