IO ANSI Table v0.2.2 IO.ANSI.Table.Config
Defines functions to retrieve table config properties at runtime.
Summary
Functions
Retrieves the align attributes for a table
Retrieves the header fixes for a table
Retrieves the headers of a table
Retrieves the key headers of a table
Retrieves the margins to leave around a table
Retrieves the maximum column width of a table
Functions
Retrieves the align attributes for a table.
Examples
iex> alias IO.ANSI.Table.Config
iex> Config.align_attrs
%{}
Retrieves the header fixes for a table.
Examples
iex> alias IO.ANSI.Table.Config
iex> Config.header_fixes
%{}
Retrieves the headers of a table.
Examples
iex> alias IO.ANSI.Table.Config
iex> Config.headers
[:undefined]
Retrieves the key headers of a table.
Examples
iex> alias IO.ANSI.Table.Config
iex> Config.key_headers
[]
Retrieves the margins to leave around a table.
Examples
iex> alias IO.ANSI.Table.Config
iex> Config.margins(nil)
[top: 1, bottom: 1, left: 2]