Sha256: 2155c5cf53e842bf925511dfd9d6e474b0715c99290ca5e300568796b83585f6
Contents?: true
Size: 575 Bytes
Versions: 1
Compression:
Stored size: 575 Bytes
Contents
# this method adds a new record def savehtmlhypernoterecord 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rwdhypernote-0.09 | code/superant.com.hypernote/savehtmlhypernoterecord.rb |