class Pry::Helpers::Table
def rows_to_s(style = :color_on)
def rows_to_s(style = :color_on) widths = columns.map { |e| _max_width(e) } @rows_without_colors.map do |r| padded = [] r.each_with_index do |e, i| next unless e item = e.ljust(widths[i]) item.sub! e, _recall_color_for(e) if style == :color_on padded << item end padded.join(@config.ls.separator) end end