Sha256: 808a4c79116a485de4a8cc3d16cdd7cf4247539c4f9a83c255004ff3ad8790ae

Contents?: true

Size: 647 Bytes

Versions: 2

Compression:

Stored size: 647 Bytes

Contents

   # this method puts the configuration rexord on the screen
  def loadrwdtorrentconfiguration
 
         require 'fileutils'
          
               @a_torrentconfigurationfilename = "rwdtorrent.cnf" 
        
	      
        begin # exception trapped block
       
       Dir.chdir($progdir)
	      fileName = File.join(ConfigurationDir, "rwdtorrent.cnf")
        
        
	      fd = File.open(fileName,"r")
	      @a_torrentconfiglines=        fd.read
	 
	     
        fd.close
        rescue SystemCallError, StandardError
            $stderr.print "system call error: " + $!
        end # exception rescue

  end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rwdtorrent-0.05 code/superant.com.rwdtorrent/loadconfigurationrecord.rb
rwdtorrent-0.04 code/superant.com.rwdtorrent/loadconfigurationrecord.rb