Sha256: 5802d244b3749e68526e5427706a98e696a58a3eb48dfea82deb19a0a715fce9
Contents?: true
Size: 694 Bytes
Versions: 1
Compression:
Stored size: 694 Bytes
Contents
# this method adds a new address record def saverwdshellconfiguration require 'fileutils' rwdshellname = "rwdwshell-" + RwdShellVersion + ".cnf" newname = rwdshellname # grab the filename to create newdata =@a_rshellconfiguration begin # exception trapped block fileName = File.join( ConfigurationDir, newname ) fd = File.open(fileName,"w") fd.print(newdata) # save the record info to the file fd.close @newrshellconfigurationresult=newdata # show the record info in the browser rescue SystemCallError, StandardError $stderr.print "system call error: " + $! end # exception rescue end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bigtinker-0.95 | code/superant.com.rwdshell/saveconfigurationrecord.rb |