Skip to content

Instantly share code, notes, and snippets.

@taka2
Created September 7, 2008 17:59
Show Gist options
  • Save taka2/9289 to your computer and use it in GitHub Desktop.
Save taka2/9289 to your computer and use it in GitHub Desktop.
require 'java'
require 'poi-3.1-FINAL-20080629.jar'
io = java.io.FileOutputStream.new("test2.xls")
wb = org.apache.poi.hssf.usermodel.HSSFWorkbook.new
wb.createSheet("First")
wb.write(io)
io.close
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment