Sha256: 038b7831488a826c7f5a28c598344549333056e80bdb53579388a7a6feedc25d

Contents?: true

Size: 664 Bytes

Versions: 2

Compression:

Stored size: 664 Bytes

Contents

  # this method adds a new address record
  def saverwdscheduleconfiguration
   require 'fileutils'
   
   newname = "rwdschedule.cnf" # grab the filename to create
   newdata =@a_schconfigurationfile
   
	 
        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
rwdschedule-1.01 code/superant.com.schedule/saveconfigurationrecord.rb
rwdschedule-1.02 code/superant.com.schedule/saveconfigurationrecord.rb