Created
February 23, 2014 20:52
-
-
Save gouf/9177099 to your computer and use it in GitHub Desktop.
xls 形式のファイルを生成してみる。A0 に「test.」が保存されたファイルが作られる。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'spreadsheet' | |
book = Spreadsheet::Workbook.new | |
sheet = book.create_worksheet | |
sheet[0,0] = 'test.' | |
book.write('example.xls') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment