Sha256: 06feadfe012b661518c886062deac6ac1a633535e77fb52cb838ea3e9d2ae893

Contents?: true

Size: 695 Bytes

Versions: 1

Compression:

Stored size: 695 Bytes

Contents

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

   
   newname = "rwdwdialogmap-" + RwdDialogMapVersion + ".cnf" # grab the filename to create
   newdata = @a_diaconfigurationfile
   
	  
        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
rwddialogmap-0.01 code/superant.com.dialogmap/saveconfigurationrecord.rb