felixbuenemann / xlsxtream

Streaming & Fast XLSX Spreadsheet Writer for Ruby
MIT License
217 stars 38 forks source link

Allow worksheet name as an option #26

Closed felixbuenemann closed 6 years ago

felixbuenemann commented 6 years ago

It would be great to support specifying the sheet name as an option instead of an argument to #write_worksheet, so we could use:

xlsx.write_worksheet(name: 'Sheet1', use_shared_strings: true) do |sheet|
end

Instead of:

xlsx.write_worksheet('Sheet1', use_shared_strings: true) do |sheet|
end