Module: ArToHtmlTable
- Defined in:
- lib/ar_to_html_table/model.rb,
lib/ar_to_html_table.rb,
lib/ar_to_html_table/version.rb,
lib/ar_to_html_table/column_formats.rb,
lib/ar_to_html_table/table_formatter.rb,
lib/ar_to_html_table/column_formatter.rb
Overview
Column Formatters
Each cell value (attribute in a row) is formatted on output. This module defines a series of formatters. A formatter is any method with a signature of:
def method(cell_value, options)
Hence any method already in scope at the time of formatting is available as well. For example number_with_delimeter
and friends are valid formatters.
Defined Under Namespace
Modules: ColumnFormats, ColumnFormatter, Model Classes: TableFormatter
Constant Summary collapse
- VERSION =
"0.1.9"