Sha256: 566f315eb23dfe751584830022c0ab10d61ad2088195b3fee1d712c2bc8c00f3

Contents?: true

Size: 1.28 KB

Versions: 3

Compression:

Stored size: 1.28 KB

Contents

   # this method puts the configuration rexord on the screen
  def loadrubyslippersconfiguration
 
         require 'fileutils'
          
               @a_rsconfigurationfilename = "rubyslippers.cnf" 
        
	      
        begin # exception trapped block
       
       Dir.chdir($progdir)
	      fileName = File.join(ConfigurationDir, "rubyslippers.cnf")
        
        
	      fd = File.open(fileName,"r")
	      @a_rsconfigline1=        fd.readline.chomp
	      @a_rsconfigline2 =  fd.readline.chomp
        @a_rsconfigline3 = fd.readline.chomp
          @a_rsconfigline4 = fd.readline.chomp
        @a_rsconfigline5 = fd.readline.chomp
         @a_rsconfigline6 = fd.readline.chomp 
          @a_rsconfigline7 =fd.readline.chomp
          @a_rsconfigline8 = fd.readline.chomp
           @a_rsconfigline9 = fd.readline.chomp
           @a_rsconfigline10 = fd.readline.chomp
           @a_rsconfigline11 = fd.readline.chomp
           @a_rsconfigline12 = fd.readline.chomp
           @a_rsconfigline13 = fd.readline.chomp
	  @a_rsconfigline14 = fd.readline.chomp
	      while ! fd.eof?
	        @extrarsconfigdatadisplay = fd.readline
	      end
        fd.close
        rescue SystemCallError, StandardError
            $stderr.print "system call error: " + $!
        end # exception rescue

  end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rubyslippers-1.02 code/superant.com.rubyslippers/loadconfigurationrecord.rb
rubyslippers-1.00 code/superant.com.rubyslippers/loadconfigurationrecord.rb
rubyslippers-1.01 code/superant.com.rubyslippers/loadconfigurationrecord.rb