Class: BundleOutdatedFormatter::TSVFormatter
- Defined in:
- lib/bundle_outdated_formatter/formatter/tsv_formatter.rb
Overview
Formatter for TSV
Constant Summary
Constants inherited from Formatter
Formatter::GEM_REGEXP, Formatter::GROUPS_REGEXP, Formatter::INSTALLED_REGEXP, Formatter::NEWEST_REGEXP, Formatter::REQUESTED_REGEXP
Instance Method Summary collapse
Methods inherited from Formatter
Constructor Details
This class inherits a constructor from BundleOutdatedFormatter::Formatter
Instance Method Details
#convert ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/bundle_outdated_formatter/formatter/tsv_formatter.rb', line 7 def convert text = CSV.generate(force_quotes: true, col_sep: "\t") do |tsv| tsv << @columns @outdated_gems.each do |gem| tsv << gem.values end end text.chomp end |