Sha256: 5752dc3d082655eed614b96c15f00f8aee8f46b6eeb05d9e9264cd5543e3049c

Contents?: true

Size: 579 Bytes

Versions: 8

Compression:

Stored size: 579 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 + ".txt" # 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

8 entries across 8 versions & 2 rubygems

Version Path
bigtinker-0.93 code/superant.com.hypernote/savehypernoterecord.rb
bigtinker-0.94 code/superant.com.hypernote/savehypernoterecord.rb
rwdhypernote-0.03 code/superant.com.hypernote/savehypernoterecord.rb
rwdhypernote-0.08 code/superant.com.hypernote/savehypernoterecord.rb
rwdhypernote-0.07 code/superant.com.hypernote/savehypernoterecord.rb
rwdhypernote-0.06 code/superant.com.hypernote/savehypernoterecord.rb
rwdhypernote-0.04 code/superant.com.hypernote/savehypernoterecord.rb
rwdhypernote-0.05 code/superant.com.hypernote/savehypernoterecord.rb