lib/poi2csv.rb in poi2csv-0.0.5.1 vs lib/poi2csv.rb in poi2csv-0.0.5.2

- old
+ new

@@ -2,10 +2,10 @@ require "poi2csv/version" module Poi2csv Poi2csvException = Class.new(StandardError) - SUPPORTED_EXTENSIONS = [:xls, :xlsx] + SUPPORTED_EXTENSIONS = ['xls', 'xlsx'] def self.to_csv(input_file_path, output_folder_path, separator=nil, formating_convention=nil) args = [input_file_path, output_folder_path, separator, formating_convention].reject { |v| v.nil? } args = args.map { |v| Shellwords.escape(v) } console_message = `java -cp #{classpath} ToCSV #{args * ' '}`