class Thor::Shell::TablePrinter

Constants

BORDER_SEPARATOR

Public Class Methods

Calls superclass method Thor::Shell::ColumnPrinter::new
# File lib/thor/shell/table_printer.rb, line 9
def initialize(stdout, options = {})
  super
  @formats = []
  @maximas = []
  @colwidth = options[:colwidth]
  @truncate = options[:truncate] == true ? Terminal.terminal_width : options[:truncate]
  @padding = 1
end

Public Instance Methods