summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/package.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/axlsx/package.rb')
-rw-r--r--lib/axlsx/package.rb7
1 files changed, 6 insertions, 1 deletions
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.