scribe v0.9.0 Scribe.Border View Source
Defines border and edge symbols for a table cell.
Example Usage
When printed, a cell with a border of Scribe.Border.new("+", "|", "-")
would look like:
+--------+
| "test" |
+--------+
Link to this section Summary
Functions
Defines a new Border.t
with given corner and edges
Link to this section Types
Link to this section Functions
Link to this function
new(corner, v_edge, h_edge) View Source
Defines a new Border.t
with given corner and edges.
Examples
iex> new("+", "|", "-")
%Scribe.Border{
top_left_corner: "+",
top_edge: "-",
top_right_corner: "+",
right_edge: "|",
bottom_right_corner: "+",
bottom_edge: "-",
bottom_left_corner: "+",
left_edge: "|"
}