lib/to_xls.rb in to_xls-0.0.2 vs lib/to_xls.rb in to_xls-0.0.3
- old
+ new
@@ -1,4 +1,7 @@
+require 'rubygems'
+require 'spreadsheet'
+
class Array
# Options for to_xls: columns, name, header
def to_xls(options = {})
book = Spreadsheet::Workbook.new