rf-web/vendor/bundle/gems/terminal-table-1.8.0/lib/terminal-table/table_helper.rb
2019-10-21 10:18:17 +02:00

10 lines
204 B
Ruby

module Terminal
class Table
module TableHelper
def table headings = [], *rows, &block
Terminal::Table.new :headings => headings.to_a, :rows => rows, &block
end
end
end
end