table_print icon indicating copy to clipboard operation
table_print copied to clipboard

The best data slicer! Watch a 3 minute screencast at http://tableprintgem.com

Results 30 table_print issues
Sort by recently updated
recently updated
newest added

Using this in a rails app. How would I configure the default tp in a Rails initializer? For example, I'd like to make headers always lowercase via: ``` tp.set :capitalize_headers,...

When I wanted to colorize some values, I used the following formatter ``` ruby class ColorFormatter def initialize(color) @color = color end def format(data) HighLine.color(data.to_s, @color) end end ``` The...

- ruby 2.7.4 via RVM - gem install table_print 1.5.7 and pry 0.14.1 > pry > [1] pry(main)> require 'table_print' > => true > [2] pry(main)> foo = {'bar'=> 'baz',...

I have this: ``` tp [[1,2,3],[44,55,66]], :second, :last, object_class: lambda{|ary| ary.first} ``` which I expect something like: | SECOND | LAST | OBJECT_CLASS | | --- | --- | ---...

Would be interested to know why bundler cache hasn't been enabled for Travis. Thank you.

It looks like when both are specified, display_method cannot use e.g. a lambda function. This is annoying, since there are cases where one would like to use both

A config option to not print the header (top two lines) would be nice. If the separator is set to '' and the header is not shown, the tool becomes...

> For example when I do > tp systems, :system => {:display_method => :name}, :epic => {:display_method => :xyz} > > The second column will never be displayed. It is...

Given a table like this with ever growing columns, how do I change rows with columns to better display my data without wrapping.

This should fix #69 Showing this working: ![Exampe](http://i.imgur.com/PArNVC7.png)