Class: Ruport::Controller::Grouping

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

Overview

This class implements the basic controller for data groupings in Ruport (a collection of Groups).

Supported Formatters

  • Formatter::CSV

  • Formatter::Text

  • Formatter::HTML

  • Formatter::PDF

Default layout options

  • show_group_headers #=> true

  • style #=> :inline

Formatter hooks called (in order)

  • build_grouping_header

  • build_grouping_body

  • build_grouping_footer

  • finalize_grouping

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