Sha256: af7d52bafc9d403c66293eaf02f97f23c2ea0312b3c4b6042ec1421c560e4988

Contents?: true

Size: 670 Bytes

Versions: 2

Compression:

Stored size: 670 Bytes

Contents

  # this method adds a new address record
  def saverwdhypernoteconfiguration
   require 'fileutils'

   
   newname = "rwdwhypernote.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

2 entries across 2 versions & 1 rubygems

Version Path
rwdhypernote-0.16 code/superant.com.hypernote/saveconfigurationrecord.rb
rwdhypernote-0.15 code/superant.com.hypernote/saveconfigurationrecord.rb