code/superant.com.rwdtinkerbackwindow/listzips.rb in rwdschedule-0.92 vs code/superant.com.rwdtinkerbackwindow/listzips.rb in rwdschedule-0.93

- old
+ new

@@ -1,16 +1,16 @@ -# this code is to list the zipped applets that can be installed -def listzipfilestoinstall +# this code is to list the zipped applets that can be installed +def listzipfilestoinstall if File.exist?($zipslocation) fileList = Dir.new($zipslocation).entries.sort.delete_if { |x| ! (x =~ /zip$/) } - @zipslistresult = fileList.rwd_method("fillziptoinstallname") + @zipslistresult = fileList.rwd_method("fillziptoinstallname") end end def fillziptoinstallname(inffile) applet = inffile.gsub(/\.zip$/, "") @a_installapplet = applet end - - - + + +