bin/rubyfromexcel in rubyfromexcel-0.0.4 vs bin/rubyfromexcel in rubyfromexcel-0.0.5
- old
+ new
@@ -13,8 +13,11 @@
puts `unzip -uo #{spreadsheet} -d #{unzipped_spreadsheet}`
RubyFromExcel::Process.new do
self.source_excel_directory = unzipped_spreadsheet
self.target_ruby_directory = ruby_version
-end.start!
+ if ARGV[2]
+ self.checkpoint_directory = File.absolute_path(ARGV[2])
+ end
+end.start!(ARGV[3] ? ARGV[3].to_i : nil)
FileUtils.rm_rf(unzipped_spreadsheet)
\ No newline at end of file