Sha256: fa8f6a39f616e564326cfdb0e22fd94f645673693ac2ecd94f62327b442e4ec4
Contents?: true
Size: 593 Bytes
Versions: 13
Compression:
Stored size: 593 Bytes
Contents
def viewgemspecdata require 'fileutils' $currentgemspectext = "%s" % [@a_viewgemspecdata] begin # exception trapped block Dir.chdir($progdir) filegemspec = $gemspec_directory + "/" + $currentgemspectext + ".gemspec" fd = File.open(filegemspec,"r") @viewgemspecdatadisplay = " " while ! fd.eof? @viewgemspecdatadisplay = fd.read end fd.close rescue SystemCallError, StandardError $stderr.print "system call error: " + $! end # exception rescue end
Version data entries
13 entries across 13 versions & 1 rubygems