Sha256: 6da606e08081811b0cd0f6523c786366bf5309b5d8991f397e1065a95a4f0671

Contents?: true

Size: 622 Bytes

Versions: 70

Compression:

Stored size: 622 Bytes

Contents

# this method saves the configuration record
def saveconfigurationrecord 
	require 'fileutils'
	if @a_configurationfilename
		newname = "%s" %   [@a_configurationfilename] # grab the filename to create
		newdata =@a_configurationfile

          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
end

Version data entries

70 entries across 70 versions & 16 rubygems

Version Path
rwdtinker-1.81 code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb
rwdtinker-1.82 code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb
rwdtinker-1.83 code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb
rwdtinker-1.79 code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb
rwdtorrent-0.05 code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb
rwdtorrent-0.08 code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb
rwdtorrent-0.06 code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb
tinkerbell-0.03 code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb
tinkerbell-0.01 code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb
tinkerbell-0.04 code/superant.com.rwdtinkerbackwindow/saveconfigurationrecord.rb