Sha256: 713d61c9710ec36758917da91171d67ee731f4a07439014c98fe95ff4f941c16
Contents?: true
Size: 571 Bytes
Versions: 7
Compression:
Stored size: 571 Bytes
Contents
# this method adds a new record def savehypernoterecord require 'fileutils' if ! @a_notedata.empty? if ! @a_viewhypernote.empty? fileName = @a_viewhypernote.to_s # grab the new filename to create begin # exception trapped block fd = File.open(fileName,"w") fd.print( @a_notedata) # 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
7 entries across 7 versions & 1 rubygems