Class | Array |
In: |
lib/ruport/data/table.rb
|
Parent: | Object |
Converts an array to a Ruport::Data::Table object, ready to use in your reports.
Example:
[[1,2],[3,4]].to_table(%w[a b])