class BrewOutdatedFormatter::TSVFormatter
Formatter
for TSV
Public Instance Methods
convert()
click to toggle source
# File lib/brew_outdated_formatter/formatter/tsv_formatter.rb, line 7 def convert text = CSV.generate(force_quotes: true, col_sep: "\t") do |tsv| tsv << COLUMNS @outdated_formulas.each do |formula| tsv << formula.values end end text.chomp end