Sha256: b786f436b8b3d13342d19a5a2361a431451d8d9b19dc20a982ebfec7be57502a

Contents?: true

Size: 653 Bytes

Versions: 2

Compression:

Stored size: 653 Bytes

Contents

   # this method puts the configuration rexord on the screen
  def loadrwdgutenbergconfiguration
 
         require 'fileutils'
          
               @a_gutenconfigurationfilename = "rwdwgutenberg.cnf" 
        
	      
        begin # exception trapped block
       
       Dir.chdir($progdir)
	      fileName = File.join(ConfigurationDir, "rwdwgutenberg.cnf")
        
        
	      fd = File.open(fileName,"r")
	      @a_gutenconfigurationfile =        fd.read
        fd.close
        rescue SystemCallError, StandardError
            $rwdtinkerlog.error "system call error: #{$!}" 
        end # exception rescue

  end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rwdgutenberg-0.12 code/superant.com.gutenberg/loadconfigurationrecord.rb
rwdgutenberg-0.13 code/superant.com.gutenberg/loadconfigurationrecord.rb