Parent

Methods

Array

Public Instance Methods

to_table(column_names=nil,&b) click to toggle source

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])
# File lib/ruport/data/table.rb, line 836
def to_table(column_names=nil,&b)
  Ruport::Data::Table.new({:data => self, :column_names => column_names},&b)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.