Class: CliFormat::Presenter::Table
- Defined in:
- lib/cli_format/presenter/table.rb
Instance Attribute Summary
Attributes inherited from Base
#empty_message, #header, #rows
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from CliFormat::Presenter::Base
Instance Method Details
#text ⇒ Object
5 6 7 8 9 10 |
# 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 |