Sha256: 86234731ee7070f1630217cc39a484c4ad4ae06c5bed5316f33587d8479dff83
Contents?: true
Size: 707 Bytes
Versions: 2
Compression:
Stored size: 707 Bytes
Contents
# this method saves configuration record def saverwdfoldeditorconfiguration require 'fileutils' newname = "rwdwfoldeditor-" + RwdFoldEditorVersion + ".cnf" # grab the filename to create newdata = @a_foldeditconfigurationfile 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 @newconfigurationresult=newdata # show the record info in the browser rescue SystemCallError, StandardError $stderr.print "system call error: " + $! end # exception rescue end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rwdfoldeditor-0.02 | code/superant.com.foldeditor/saveconfigurationrecord.rb |
rwdfoldeditor-0.03 | code/superant.com.foldeditor/saveconfigurationrecord.rb |