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

While trying to print array of hashes which includes UTF-8 symbols ``` ArgumentError: invalid byte sequence in UTF-8 from /Users/slim/.rvm/gems/ruby-1.9.3-p194/gems/table_print-1.5.1/lib/table_print/formatter.rb:16:in `gsub' ```

fixed a huge bug with this in 1.3.3 but didn't write a spec for it.

In this code in `fingerprinter.rb`: ``` 35 handleable_columns(hash).each do |method| 36 display_method = (prefix == "" ? method : "#{prefix}.#{method}") 37 if method.is_a? Proc 38 cell_value = method.call(target) 39 elsif...

Would be awesome to be able to track a table in real time, maybe print headers every 30 rows or whatever

Given a config with an `:include`, eg: ``` ruby tp.set Store, :include => [{:retailer => {display_method: :retailer_id}}, {:created_at => {width: 19}}, {:updated_at => {width: 19}}] ``` The first print will...

We cannot table print an Array of ranges. ``` [5] pry(main)> tp [1..2,3..4] to_a | bsearch | entries | begin | end | inspect | exclude_end? | minmax | size...

Would be good to be able to return the table as a string, instead of printing it

Would be good to have an option to have a custom message instead (hide it, '-', localised version, etc.) https://github.com/arches/table_print/blob/591affe5283973474ce89cdcc70c1b42b4cf6352/lib/table_print/fingerprinter.rb#L46

Is it possible to config for no header output? If not, I may be open to making a PR, if you point me in the right direction.

As Travis CI.org is no more, this migrates CI to GitHub Actions. Runs green on my fork without any deprecation warnings.