pythonicrubyist / creek

Ruby library for parsing large Excel files.
http://rubygems.org/gems/creek
MIT License
388 stars 109 forks source link

How to close the file after parsing through the xlsx file #45

Closed pentanareshkumar closed 7 years ago

pentanareshkumar commented 7 years ago

Hi,

I am using creek gem in my project, as bellow shown code. After parsing through the xlsx file, how do i close the file ( in below code how do i close the parseFile). Do we have something like "parseFile.close" require 'creek' parseFile= Creek::Book.new 'specs/fixtures/sample.xlsx' sheet= parseFile.sheets[0]

With Regards, Naresh

SGrondin commented 7 years ago

Just do

parseFile.close