Skip to content

Commit

Permalink
Disambiguate #open call in Excelx#extract_file. Fixes #125.
Browse files Browse the repository at this point in the history
  • Loading branch information
Empact committed Jun 9, 2014
1 parent 0fb90ec commit 597482c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/roo/excelx.rb
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ def process_zipfile(tmpdir, zipfilename, zip, path='')
end

def extract_file(source_zip, entry, destination_path)
open(destination_path,'wb') {|f|
File.open(destination_path,'wb') {|f|
f << source_zip.read(entry)
}
end
Expand Down

0 comments on commit 597482c

Please sign in to comment.