Module Ruport::Formatter::RenderingTools
In: lib/ruport/formatter.rb

Provides shortcuts so that you can use Ruport‘s default rendering capabilities within your custom formatters

Methods

Public Instance methods

Iterates through data and passes each row to render_row with the given options.

Uses Renderer::Group to render the Group object with the given options.

Sets the :io attribute by default to the existing formatter‘s output object.

Uses Renderer::Grouping to render the Grouping object with the given options.

Sets the :io attribute by default to the existing formatter‘s output object.

Iterates through the data in the grouping and renders each group followed by a newline.

Uses Renderer::Row to render the Row object with the given options.

Sets the :io attribute by default to the existing formatter‘s output object.

Uses Renderer::Table to render the Table object with the given options.

Sets the :io attribute by default to the existing formatter‘s output object.

[Validate]