Sha256: 8b5841dfaf12497d2ee89c671269868515017b9c6e0fbb09fcc43725ce442091
Contents?: true
Size: 384 Bytes
Versions: 19
Compression:
Stored size: 384 Bytes
Contents
def openname require 'fileutils' nametext = "%s" % [@a_installlist] begin # exception trapped block fileName = "installed/" + nametext + ".inf" fd = File.open(fileName,"r") @displaytext = " " while ! fd.eof? @displaytext = fd.read end fd.close rescue @displaytext = "\n" + "error" end # exception rescue end
Version data entries
19 entries across 19 versions & 6 rubygems