Sha256: f17bbf4e0643b57430d62e5acc3d9a3556591dcae0e06d9fca640c6720f42b00
Contents?: true
Size: 662 Bytes
Versions: 4
Compression:
Stored size: 662 Bytes
Contents
# this method puts the configuration rexord on the screen def loadrwdshellconfiguration require 'fileutils' rwdrubyname = "rwdwruby.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
4 entries across 4 versions & 2 rubygems