# this code is to list the gems that are installed def listgemrecordfiles # fileList = Dir.new($gemspecificationsdirectory).entries.sort.reverse.delete_if { |x| ! (x =~ /gemspec$/) } fileList = Dir.new($gemspecificationsdirectory).entries.sort @listgemrecordfilesresult = fileList.rwd_method("fillgemrecordname") end def fillgemrecordname(inffile) applet = inffile.gsub(/\.gemspec$/, "") @a_viewgemdata = applet end