lib/tty/table/operation/wrapped.rb in tty-0.0.6 vs lib/tty/table/operation/wrapped.rb in tty-0.0.7

- old
+ new

@@ -25,15 +25,9 @@ idx = width return chars[0, idx].join + "\n" + wrap(chars[idx..-1].join, width) end end - private - - def actual_length(string) - string.to_s.gsub(/\e\[\d{1,2}m/, '').length - end - end # Wrapped end # Operation end # Table end # TTY