Sha256: f5b38b49d959be4a237a71f042820d67ebcc08487c181a157f4cbdbdba725777
Contents?: true
Size: 670 Bytes
Versions: 1
Compression:
Stored size: 670 Bytes
Contents
# this method adds a new address record def saverwdelizaconfiguration require 'fileutils' newname = "rwdwlanguage.cnf" # grab the filename to create newdata = @a_languageconfigurationfile 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rwdlanguage-0.01 | code/superant.com.language/saveconfigurationrecord.rb |