class CliFormat::Presenter::Table

Public Instance Methods

text() click to toggle source
# File lib/cli_format/presenter/table.rb, line 5
def text
  table = Text::Table.new
  table.head = @header if @header
  table.rows = @rows
  table
end