module AsciiTables
Overview
Placeholder for AsciiTables namespace
Defined in:
ascii_tables.crConstant Summary
-
VERSION =
{{ (`shards version /srv/crystaldoc.info/github-frncsdrk-ascii_tables-v0.1.2/src`).chomp.stringify }}
Class Method Summary
-
.render(data : Array(Array(String)), config : TableConfig = TableConfig.new) : String
Renders an ASCII table.
Class Method Detail
Renders an ASCII table. Supports Markdown formatting.
config = AsciiTables::TableConfig.new
config.headers = ["one", "two", "three"]
table = AsciiTables.render([["hello", ",", "world"]], config)