Sha256: 8a4c8091f962cd0df790ca1a6c9d5ac6c7912506ef2ab7188553916af63a1901
Contents?: true
Size: 701 Bytes
Versions: 1
Compression:
Stored size: 701 Bytes
Contents
# this method puts the configuration rexord on the screen def loadrwdgutenbergconfiguration require 'fileutils' @a_gutenconfigurationfilename = "rwdwgutenberg-" + RwdGutenbergVersion + ".cnf" begin # exception trapped block Dir.chdir($progdir) fileName = File.join(ConfigurationDir, "rwdwgutenberg-" + RwdGutenbergVersion + ".cnf") fd = File.open(fileName,"r") @a_gutenconfigurationfile = fd.read fd.close rescue SystemCallError, StandardError $stderr.print "system call error: " + $! end # exception rescue end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rwdgutenberg-0.09 | code/superant.com.gutenberg/loadconfigurationrecord.rb |