Sha256: 4b362a3d46881e6cb87e7f110a12ba5a6db6064999b6f1e6c1f163af5951f064
Contents?: true
Size: 502 Bytes
Versions: 10
Compression:
Stored size: 502 Bytes
Contents
def viewgemdata require 'fileutils' nametext = "%s" % [@a_viewgemdata] fileName = $gemspecificationsdirectory + "/" + nametext + ".gemspec" print fileName begin # begin rescue block fd = File.open(fileName,"r") @viewgemdatadisplay = " " while ! fd.eof? @a_viewgemdatadisplay = fd.read end fd.close rescue SystemCallError, StandardError $stderr.print "system call error: " + $! end # exception rescue end
Version data entries
10 entries across 10 versions & 1 rubygems