Sha256: 5996d8768f1fb459264dd08981368fdf4791a8de59790000d36bd57e51bdece2
Contents?: true
Size: 668 Bytes
Versions: 4
Compression:
Stored size: 668 Bytes
Contents
# this method adds a new address record def saverwdhypernoteconfiguration require 'fileutils' newname = "rwdhypernote.cnf" # grab the filename to create newdata = @a_hypconfigurationfile 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
4 entries across 4 versions & 1 rubygems