rf-web/vendor/bundle/gems/terminal-table-1.8.0/lib/terminal-table/table_helper.rb

10 lines
204 B
Ruby
Raw Normal View History

2019-10-21 08:18:17 +00:00
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