Sha256: 2b3c5ffad0bc1fc4309d5c6573dbdcf3965849dac4e3f56809b79814ffeefdf9

Contents?: true

Size: 925 Bytes

Versions: 4

Compression:

Stored size: 925 Bytes

Contents

  # this method adds a new address record
  def saverwdhypernoteconfiguration
   require 'fileutils'
   
   newname = "rwdhypernote.cnf" # grab the filename to create
   newdata =@a_hypconfigline1.to_s + "\n" + @a_hypconfigline2.to_s + "\n" + @a_hypconfigline3.to_s + "\n" + @a_hypconfigline4.to_s + "\n" + @a_hypconfigline5.to_s + "\n" + @a_hypconfigline6.to_s + "\n" + @a_hypconfigline7.to_s + "\n" + @a_hypconfigline8.to_s + "\n" + @a_hypconfigline9.to_s + "\n"
	 
        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 & 2 rubygems

Version Path
bigtinker-0.93 code/superant.com.hypernote/saveconfigurationrecord.rb
bigtinker-0.94 code/superant.com.hypernote/saveconfigurationrecord.rb
rwdhypernote-0.06 code/superant.com.hypernote/saveconfigurationrecord.rb
rwdhypernote-0.07 code/superant.com.hypernote/saveconfigurationrecord.rb