Sha256: e4ba6ef1aee931c578285b47de3d8c32fdd2117d31009ebb381a9035f2998d12
Contents?: true
Size: 273 Bytes
Versions: 36
Compression:
Stored size: 273 Bytes
Contents
#!/usr/bin/env ruby # coding: utf-8 # Determine the PDF version of a file require 'rubygems' require 'pdf/reader' filename = File.expand_path(File.dirname(__FILE__)) + "/../spec/data/cairo-basic.pdf" PDF::Reader.open(filename) do |reader| puts reader.pdf_version end
Version data entries
36 entries across 35 versions & 3 rubygems