Sha256: e961fd4d198368228b8e625b8085713315c72a5488a7fcc9ddef9fc4cba5b564
Contents?: true
Size: 591 Bytes
Versions: 6
Compression:
Stored size: 591 Bytes
Contents
# this method adds a new record def savehtmlhypernoterecord require 'fileutils' if ! @a_notedatahtml.empty? if ! @a_viewhypernotehtml.empty? fileName = @a_viewhypernotehtml.to_s # grab the new filename to create begin # exception trapped block fd = File.open(fileName,"w") fd.print( @a_notedatahtml) # save the record info to the file fd.close rescue SystemCallError, StandardError $stderr.print "system call error: " + $! end # exception rescue end end end
Version data entries
6 entries across 6 versions & 1 rubygems