Module: TablePal

Defined in:
lib/row.rb,
lib/cell.rb,
lib/table.rb,
lib/column.rb,
lib/version.rb,
lib/validate.rb,
lib/table_pal.rb,
lib/formatters.rb,
lib/plain_text.rb,
lib/csv_formatted.rb,
lib/csv_unformatted.rb,
lib/table_pal_error.rb,
lib/plain_text_not_coloured.rb

Defined Under Namespace

Classes: CSVFormatted, CSVUnformatted, Cell, Column, PlainText, Row, Table, TablePalError, Validate

Constant Summary collapse

VERSION =
'0.3.2'
Dollar =
lambda { |content|
  return content unless content.is_a?(Float)

  format('$%.2f', content)
}
NoFormatting =
-> content { content }
Titleize =
-> content { content.titleize }
Upper =
-> content { content.upcase }