IO ANSI Table v0.1.1 IO.ANSI.Table.Config
Defines functions to retrieve table config properties.
Summary
Functions
Checks if ANSI coloring is enabled
Retrieves the line types of a table
Retrieves the bottom margin under a table
Retrieves the left margin on the left-hand side of a table
Retrieves the top margin above a table
Functions
Checks if ANSI coloring is enabled.
Examples
iex> alias IO.ANSI.Table.Config
iex> Config.ansi_enabled?
true
Retrieves the line types of a table.
Examples
iex> alias IO.ANSI.Table.Config
iex> Config.line_types
[:top, :header, :separator, :data, :bottom]
Retrieves the bottom margin under a table.
Examples
iex> alias IO.ANSI.Table.Config
iex> Config.margin_bottom(bottom: 3)
"\n\n\n"