Class: Ruport::Controller::Table
- Inherits:
-
Ruport::Controller
- Object
- Ruport::Controller
- Ruport::Controller::Table
- Defined in:
- lib/ruport/controller/table.rb
Overview
This class implements the basic tabular data controller for Ruport.
Supported Formatters
-
Formatter::CSV
-
Formatter::Text
-
Formatter::HTML
-
Formatter::PDF
Default layout options
-
show_table_headers
#=> true
Formatter hooks called (in order)
-
prepare_table
-
build_table_header
-
build_table_body
-
build_table_footer
-
finalize_table
Instance Attribute Summary
Attributes inherited from Ruport::Controller
Method Summary
Methods inherited from Ruport::Controller
built_in_formats, #data, #data=, finalize, formats, formatter, #io=, method_missing, #options, options, prepare, render, required_option, #run, stage