tags:

views:

243

answers:

1

Hi, I have a question regarding the ruby roo library. There is a method for opening the Excel document Excel.new . How to close this document, having worked with it?

A: 

Based on the documentation there's no method to call, it might just close it when the script ends

But maybe you can try something like (not tested)

Excel.new do |excel|
  # Your stuff here
end
Yoann Le Touche