Sha256: 04ad15d44f0cf4bbe3ae41b8614bab8799659280aaca9d499f71d9515e4d0d6c

Contents?: true

Size: 841 Bytes

Versions: 23

Compression:

Stored size: 841 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
	
	if  $zipslocation.slice(0,1) == "/" ||   $zipslocation.include?(":")
	    startlangdir = $zipslocation 
         else	
	    startlangdir = File.join($progdir, $zipslocation )
	end
	
	#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/
			        #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

23 entries across 23 versions & 12 rubygems

Version Path
bigtinker-0.97 code/superant.com.rwdtinkerbackwindow/listzips.rb
bigtinker-0.96 code/superant.com.rwdtinkerbackwindow/listzips.rb
rubyslippers-1.08 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwddialogmap-0.01 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwddialogmap-0.02 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdeliza-0.05 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdfoldeditor-0.05 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdgutenberg-0.12 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdhypernote-0.15 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdmpd-0.06 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdmpd-0.07 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdruby-1.08 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdruby-1.07 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdruby-1.06 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdtinker-1.77 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdtinker-1.81 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdtinker-1.82 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdtinker-1.80 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdtinker-1.79 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdtinker-1.78 code/superant.com.rwdtinkerbackwindow/listzips.rb