Method: Bundler::Thor::Shell::Basic#print_table

Defined in:
lib/bundler/vendor/thor/lib/thor/shell/basic.rb

Prints a table.

Parameters

Array[Array[String, String, …]]

Options

indent<Integer>

Indent the first column by indent value.

colwidth<Integer>

Force the first column to colwidth spaces wide.

borders<Boolean>

Adds ascii borders.



180
181
182
183
# File 'lib/bundler/vendor/thor/lib/thor/shell/basic.rb', line 180

def print_table(array, options = {}) # rubocop:disable Metrics/MethodLength
  printer = TablePrinter.new(stdout, options)
  printer.print(array)
end