Class: Ruport::Controller::Group

Inherits:
Ruport::Controller show all
Defined in:
lib/ruport/controller/grouping.rb

Overview

This class implements the basic controller for a single group of data.

Supported Formatters

  • Formatter::CSV

  • Formatter::Text

  • Formatter::HTML

  • Formatter::PDF

Default layout options

  • show_table_headers #=> true

Formatter hooks called (in order)

  • build_group_header

  • build_group_body

  • build_group_footer

Instance Attribute Summary

Attributes inherited from Ruport::Controller

#format, #formatter

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