Sha256: f74034ea4f7cf1b8efbb64d11ec073a62ba2bf1ddeace9164ef5970d0d036164

Contents?: true

Size: 1 KB

Versions: 3

Compression:

Stored size: 1 KB

Contents

   # this method puts the configuration rexord on the screen
  def loadrwdshellconfiguration
 
         require 'fileutils'
          
               @a_rshellconfigurationfilename = "playscripts.cnf" 
        
	      
        begin # exception trapped block
       
       Dir.chdir($progdir)
	      fileName = File.join(ConfigurationDir, "playscripts.cnf")
        
        
	      fd = File.open(fileName,"r")
	      @a_rshellconfigline1=        fd.readline.chomp
	      @a_rshellconfigline2 =  fd.readline.chomp
        @a_rshellconfigline3 = fd.readline.chomp
          @a_rshellconfigline4 = fd.readline.chomp
        @a_rshellconfigline5 = fd.readline.chomp
         @a_rshellconfigline6 = fd.readline.chomp 
          @a_rshellconfigline7 =fd.readline.chomp
          @a_rshellconfigline8 = fd.readline.chomp
           @a_rshellconfigline9 = fd.readline.chomp
	 


        fd.close
        rescue SystemCallError, StandardError
            $stderr.print "system call error: " + $!
        end # exception rescue

  end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
rwddemo-0.90 code/superant.com.rwdshell/loadconfigurationrecord.rb
rwdshell-0.95 code/superant.com.rwdshell/loadconfigurationrecord.rb
rwdshell-0.96 code/superant.com.rwdshell/loadconfigurationrecord.rb