Sha256: 2504db665c5bdbdc1d8a3374bada7a19965fe307aa6c70e79fa6c8b6c9086062

Contents?: true

Size: 708 Bytes

Versions: 36

Compression:

Stored size: 708 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/
			        #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

36 entries across 36 versions & 12 rubygems

Version Path
bigtinker-0.95 code/superant.com.rwdtinkerbackwindow/listzips.rb
rubyslippers-1.06 code/superant.com.rwdtinkerbackwindow/listzips.rb
rubyslippers-1.07 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdaddresses-1.05 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdeliza-0.03 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdfoldeditor-0.01 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdfoldeditor-0.02 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdeliza-0.04 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdfoldeditor-0.03 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdgutenberg-0.08 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdgutenberg-0.09 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdgutenberg-0.07 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdgutenberg-0.06 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdhypernote-0.11 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdhypernote-0.13 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdhypernote-0.10 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdhypernote-0.08 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdhypernote-0.12 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdhypernote-0.09 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdruby-1.05 code/superant.com.rwdtinkerbackwindow/listzips.rb