class CliFormat::Presenter::Tab

Public Instance Methods

text() click to toggle source
# File lib/cli_format/presenter/tab.rb, line 3
def text
  @buffer << @header.join("\t") if @header
  @rows.each do |row|
    @buffer << row.join("\t")
  end
  @buffer.join("\n")
end