Class: BundleOutdatedFormatter::TerminalFormatter

Inherits:
Formatter
  • Object
show all
Defined in:
lib/bundle_outdated_formatter/formatter/terminal_formatter.rb

Overview

Formatter for Terminal

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

#initialize, #read_stdin

Constructor Details

This class inherits a constructor from BundleOutdatedFormatter::Formatter

Instance Method Details

#convertObject



7
8
9
# File 'lib/bundle_outdated_formatter/formatter/terminal_formatter.rb', line 7

def convert
  table.render(@style.to_sym, padding: [0, 1]).chomp
end