support/ruby/collins-shell/lib/collins_shell/util/log_printer.rb
# Grab the rendered table and reset the table instance
Grab the rendered table and reset the table instance
Grab the rendered table and reset the table instance
def render!
      if displayed? then
        buffer = table.rows.map do |row|
          row.render + "\n" + Terminal::Table::Separator.new(table).render
        end.join("\n")
      else
        buffer = table.render
      end
      set_displayed
      @table = Terminal::Table.new
      buffer
    end
def render! if displayed? then buffer = table . rows . map do | row | row . render + "\n" + Terminal :: Table :: Separator . new ( table ) . render end . join ( "\n" ) else buffer = table . render end set_displayed @table = Terminal :: Table . new buffer end
Grab the rendered table and reset the table instance
Grab the rendered table and reset the table instance