text-table
text-table copied to clipboard
A feature-rich, easy-to-use plain text table formatter.
Hi, running the specs with RSpec 3.5 gives a failure: ``` 1) Text::Table::Cell should return correct column index Failure/Error: @table.text_table_rows.first.cells[2].column_index.should == 3 expected: 3 got: 2 (using ==) # ./spec/cell_spec.rb:20:in...
This PR adds support for ansi escapes, allowing you to have colorized text in tables.
Current code uses the number of characters as a text width, so that a table rows which includes multibyte characters have different width. If we put 3 byte characters to...
implements `table.to_markdown` to output markdown tables. please let me know if it's tidy enough :)
Great gem! Thank you! Question, since my tables are mainly numeric, visually it is much better to have them aligned :right not :left by default. I looked at the code,...