Sha256: 4a2028cfedc38e28b74c7602c16da0d0f81aa06275ff63556af3e14ddf145141

Contents?: true

Size: 664 Bytes

Versions: 2

Compression:

Stored size: 664 Bytes

Contents

  # this method saves a  record
  def saverwdgutenbergconfiguration
   require 'fileutils'
   
   newname = "rwdwgutenberg.cnf" # grab the filename to create
   newdata = @a_gutenconfigurationfile
	 
        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
            $rwdtinkerlog.error "system call error: #{$!}" 
        end # exception rescue
    
  end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rwdgutenberg-0.13 code/superant.com.gutenberg/saveconfigurationrecord.rb
rwdgutenberg-0.12 code/superant.com.gutenberg/saveconfigurationrecord.rb