4 5 6
# 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