Sha256: 17c0ae7c590dee620f6c09606e5c7ef1a8ee70767ed99c8828bd3f75986a098b
Contents?: true
Size: 451 Bytes
Versions: 4
Compression:
Stored size: 451 Bytes
Contents
require 'rubyXL' require 'benchmark' spreadsheets = Dir.glob(File.join('test', 'input', '*.xls?')).sort! spreadsheets.each { |input| puts "<<<--- Parsing #{input}..." doc = nil tm = Benchmark.realtime { doc = RubyXL::Parser.parse(input) } puts "Elapsed: #{tm} sec" output = File.join('test', 'output', File.basename(input)) puts "--->>> Writing #{output}..." tm = Benchmark.realtime { doc.write(output) } puts "Elapsed: #{tm} sec" }
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rubyXL-3.4.27 | test/test_parse_write.rb |
rubyXL-3.4.26 | test/test_parse_write.rb |
rubyXL-3.4.25 | test/test_parse_write.rb |
rubyXL-3.4.24 | test/test_parse_write.rb |