Class: Seafoam::Formatters::Text::InfoFormatter

Inherits:
Base::InfoFormatter show all
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

#initialize

Constructor Details

This class inherits a constructor from Seafoam::Formatters::Base::InfoFormatter

Instance Method Details

#formatObject



46
47
48
# File 'lib/seafoam/formatters/text.rb', line 46

def format
  "BGV #{major_version}.#{minor_version}"
end