Sha256: 992c690f101193aa4be7fccb3cb11b106fe3096ee3664c4971d346f5cbbf76c2

Contents?: true

Size: 577 Bytes

Versions: 1

Compression:

Stored size: 577 Bytes

Contents

# this method adds a new address record
def saverwdaddressesconfiguration
	require 'fileutils'
	
	newname = "rwdwaddresses.cnf" # grab the filename to create


	newdata = @a_adconfigurationfile

	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
bigtinker-0.96 code/superant.com.rwdaddresses/saveconfigurationrecord.rb