Sha256: 782d9474f76d78e09a05083c1fb31f596c07d0f39788ada8a381aa107e19f39b

Contents?: true

Size: 692 Bytes

Versions: 3

Compression:

Stored size: 692 Bytes

Contents

  # this method adds a new address record
  def saverwdshellconfiguration
   require 'fileutils'
   rwdshellname = "rwdwruby-" + RwdRubyVersion + ".cnf"
   newname = rwdshellname # grab the filename to create
   newdata =@a_rshellconfiguration
	 
        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
          @newrshellconfigurationresult=newdata # show the record info in the browser
        rescue SystemCallError, StandardError
            $stderr.print "system call error: " + $!
        end # exception rescue
    
  end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rwdruby-1.07 code/superant.com.rwdshell/saveconfigurationrecord.rb
rwdruby-1.06 code/superant.com.rwdshell/saveconfigurationrecord.rb
rwdruby-1.05 code/superant.com.rwdshell/saveconfigurationrecord.rb