Sha256: 42dcfd202dbe3bcfcdfff733a1d3e6d7705ad7fe93da97855f5856790c9aaa66
Contents?: true
Size: 685 Bytes
Versions: 3
Compression:
Stored size: 685 Bytes
Contents
# this method puts the configuration rexord on the screen def loadrwdshellconfiguration require 'fileutils' rwdrubyname = "rwdwruby-" + RwdRubyVersion + ".cnf" @a_rshellconfigurationfilename = rwdrubyname begin # exception trapped block Dir.chdir($progdir) fileName = File.join(ConfigurationDir, rwdrubyname) fd = File.open(fileName,"r") @a_rshellconfiguration= fd.read fd.close rescue SystemCallError, StandardError $stderr.print "system call error: " + $! end # exception rescue end
Version data entries
3 entries across 3 versions & 1 rubygems