module Terminal::Table::TableHelper

Public Instance Methods

table(headings = [], *rows, &block) click to toggle source
# File lib/terminal-table/table_helper.rb, line 4
def table headings = [], *rows, &block
  Terminal::Table.new :headings => headings.to_a, :rows => rows, &block
end