Sha256: eb9d9c03847598d3216b5108fa29d92c828b02862a085ec6caf0918489efa0f2
Contents?: true
Size: 424 Bytes
Versions: 5
Compression:
Stored size: 424 Bytes
Contents
# this code is to list the scripts def listcalcscripts fileList = Dir.new($calcscript_directory).entries.sort.delete_if { |x| ! (x =~ /math$/) } @listcalcscriptresult = fileList.rwd_method("fillcalcscriptname") end def fillcalcscriptname(inffile) applet = inffile.gsub(/\.math$/, "") @a_calcscriptfilename = applet $currentcalcscriptname = applet @a_calcscriptcmd = applet end
Version data entries
5 entries across 5 versions & 2 rubygems