Sha256: 89811c57fca8fd4c5adee8afa4d26cc14a3b157fd7ee1189de5b1861573c1671
Contents?: true
Size: 273 Bytes
Versions: 13
Compression:
Stored size: 273 Bytes
Contents
require 'roo' Dir.glob("test/files/*.ods").each do |fn| begin oo = Roo::OpenOffice.new fn print File.basename(fn) + " " puts oo.officeversion rescue Zip::ZipError, Errno::ENOENT => e # file is not a real .ods spreadsheet file puts e.message end end
Version data entries
13 entries across 13 versions & 4 rubygems