Sha256: 0c808fe09fb51853625e701f10142df516747ddad5ca9ff81e6884510565f3b3
Contents?: true
Size: 552 Bytes
Versions: 10
Compression:
Stored size: 552 Bytes
Contents
# this method views an existing address record def loadrubyscriptrecord require 'fileutils' currentscriptname = @a_rubyscriptfilename begin # exception trapped block fileName = $shellscript_directory + "/" + currentscriptname + ".rb" fd = File.open(fileName,"r") @a_rubyscriptrecord = fd.read fd.close rescue SystemCallError, StandardError $stderr.print "system call error: " + $! end # exception rescue end
Version data entries
10 entries across 10 versions & 3 rubygems