Class: Seafoam::Formatters::Text::InfoFormatter
- Inherits:
-
Base::InfoFormatter
- Object
- Base::InfoFormatter
- Seafoam::Formatters::Text::InfoFormatter
- Defined in:
- lib/seafoam/formatters/text.rb
Overview
A plain-text formatter for the ‘info` command.
Instance Attribute Summary
Attributes inherited from Base::InfoFormatter
#major_version, #minor_version
Instance Method Summary collapse
Methods inherited from Base::InfoFormatter
Constructor Details
This class inherits a constructor from Seafoam::Formatters::Base::InfoFormatter
Instance Method Details
#format ⇒ Object
46 47 48 |
# File 'lib/seafoam/formatters/text.rb', line 46 def format "BGV #{major_version}.#{minor_version}" end |