From 4d16bfc43780e5d3f7368625700b583e3e98217a Mon Sep 17 00:00:00 2001 From: Randy Morgan Date: Sun, 27 Nov 2011 18:11:42 +0900 Subject: adding in row_style and col_style methods to worksheet and active record 'acts_as_axlsx' to provide to_xlsx. --- lib/axlsx/package.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lib/axlsx/package.rb') diff --git a/lib/axlsx/package.rb b/lib/axlsx/package.rb index d9455f14..921646da 100644 --- a/lib/axlsx/package.rb +++ b/lib/axlsx/package.rb @@ -15,7 +15,12 @@ module Axlsx @core.creator = options[:author] || @core.creator yield self if block_given? end - + + # Accepts a ruport table for serialization to xlsx + # @param [Table] table a ruport Table object + def ruport_table(table) + puts table + end # The workbook this package will serialize or validate. # @return [Workbook] If no workbook instance has been assigned with this package a new Workbook instance is returned. -- cgit v1.2.3