Sha256: 7de9b00053f8cecc5b3621f94d19c8f4b10967cad24f7ca484886c99642218eb
Contents?: true
Size: 644 Bytes
Versions: 3
Compression:
Stored size: 644 Bytes
Contents
# this method adds a new record def dialogmapsavelinkrecord require 'fileutils' if ! @a_dialogmapdatahtml.empty? if ! @a_viewdialogmaphtml.empty? fileName = "%s" % [@a_viewdialogmaphtml] # grab the new filename to create begin # exception trapped block fd = File.open(fileName,"w") fd.print( @a_dialogmapdatahtml) # save the record info to the file fd.close if $DEBUG p fileName end rescue SystemCallError, StandardError $stderr.print "system call error: " + $! end # exception rescue end end end
Version data entries
3 entries across 3 versions & 2 rubygems