Sha256: 348a88bf5bea1492907ee03431a42905dc882c377ff7b5afe35ee923cdb63e9a

Contents?: true

Size: 722 Bytes

Versions: 23

Compression:

Stored size: 722 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

23 entries across 23 versions & 11 rubygems

Version Path
bigtinker-0.94 code/superant.com.rwdtinkerbackwindow/listzips.rb
bigtinker-0.93 code/superant.com.rwdtinkerbackwindow/listzips.rb
rubyslippers-1.04 code/superant.com.rwdtinkerbackwindow/listzips.rb
rubyslippers-1.02 code/superant.com.rwdtinkerbackwindow/listzips.rb
rubyslippers-1.03 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdaddresses-1.03 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdaddresses-1.04 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdaddresses-1.02 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwddemo-0.92 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdgutenberg-0.04 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdgutenberg-0.05 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdhypernote-0.07 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdmovies-0.94 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdmovies-0.95 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdschedule-1.00 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdschedule-0.99 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdshell-0.99 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdtinker-1.62 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdtinker-1.63 code/superant.com.rwdtinkerbackwindow/listzips.rb
rwdtinker-1.65 code/superant.com.rwdtinkerbackwindow/listzips.rb