# this code is to list the scripts def listrubyscripts fileList = Dir.new($shellscript_directory).entries.sort.delete_if { |x| ! (x =~ /rb$/) } @listrubyscriptresult = fileList.rwd_method("fillrubyscriptname") end def fillrubyscriptname(inffile) applet = inffile.gsub(/\.rb$/, "") @a_rubyscriptfilename = applet $currentrubyscriptname = applet @a_rubyscriptcmd = applet end