Module: TableTennis

Defined in:
lib/table_tennis/table.rb,
lib/table_tennis/row.rb,
lib/table_tennis/theme.rb,
lib/table_tennis/column.rb,
lib/table_tennis/config.rb,
lib/table_tennis/version.rb,
lib/table_tennis/stage/base.rb,
lib/table_tennis/table_data.rb,
lib/table_tennis/util/scale.rb,
lib/table_tennis/util/colors.rb,
lib/table_tennis/util/termbg.rb,
lib/table_tennis/stage/format.rb,
lib/table_tennis/stage/layout.rb,
lib/table_tennis/stage/render.rb,
lib/table_tennis/util/strings.rb,
lib/table_tennis/stage/painter.rb,
lib/table_tennis/util/identify.rb,
lib/table_tennis/util/inspectable.rb

Overview

Welcome to TableTennis! Use as follows:

puts TableTennis.new(array_of_hashes, options = {})

See the README for details on options - color_scales, color, columns, debug, digits, layout, mark, placeholder, row_numbers, save, search, strftime, theme, title, zebra

Defined Under Namespace

Modules: Stage, Util Classes: Column, Config, Row, Table, TableData, Theme

Constant Summary collapse

VERSION =
"0.0.5"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.defaultsObject

Returns the value of attribute defaults.



3
4
5
# File 'lib/table_tennis/config.rb', line 3

def defaults
  @defaults
end

Class Method Details

.new(*args, &block) ⇒ Object

Welcome to TableTennis! Use as follows:

puts TableTennis.new(array_of_hashes_or_records, options = {})

See the README for details on options - color_scales, color, columns, debug, digits, layout, mark, placeholder, row_numbers, save, search, strftime, theme, title, zebra



77
# File 'lib/table_tennis/table.rb', line 77

def new(*args, &block) = Table.new(*args, &block)