Sha256: f5ef989417b7a5ad3420105cb19410adb978862d8bb36891ba73a9cbb4fcf586
Contents?: true
Size: 472 Bytes
Versions: 6
Compression:
Stored size: 472 Bytes
Contents
def viewevent require 'fileutils' $currenteventtext = "%s" % [@a_viewevent] begin # exception trapped block fileName = $rwdschedule_directory + "/" + $currenteventtext + ".sch" fd = File.open(fileName,"r") @displayevent = " " while ! fd.eof? @displayevent = fd.read end fd.close rescue SystemCallError, StandardError $stderr.print "system call error: " + $! end # exception rescue end
Version data entries
6 entries across 6 versions & 1 rubygems