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

Version Path
rwdhypernote-0.09 code/superant.com.hypernote/savehypernoterecord.rb
rwdhypernote-0.13 code/superant.com.hypernote/savehypernoterecord.rb
rwdhypernote-0.16 code/superant.com.hypernote/savehypernoterecord.rb
rwdhypernote-0.10 code/superant.com.hypernote/savehypernoterecord.rb
rwdhypernote-0.12 code/superant.com.hypernote/savehypernoterecord.rb
rwdhypernote-0.11 code/superant.com.hypernote/savehypernoterecord.rb
rwdhypernote-0.15 code/superant.com.hypernote/savehypernoterecord.rb