Sha256: 8b351d53e64b8241110d8432b331a8d238b8b51a2fc409bf7e24fc0cc48b1749
Contents?: true
Size: 510 Bytes
Versions: 11
Compression:
Stored size: 510 Bytes
Contents
def viewicsevent require 'fileutils' $currenticseventtext = "%s" % [@a_viewicsevent] begin # exception trapped block fileName = $rwdschedule_directory + "/" + $currenticseventtext + ".ics" fd = File.open(fileName,"r") @displayicsevent = " " while ! fd.eof? @displayicsevent = fd.read end fd.close rescue SystemCallError, StandardError $stderr.print "system call error: " + $! end # exception rescue end
Version data entries
11 entries across 11 versions & 2 rubygems