Class: GemWhy::Formatters::BaseFormatter
- Inherits:
-
Object
- Object
- GemWhy::Formatters::BaseFormatter
- Defined in:
- lib/gem_why/formatters/base_formatter.rb
Overview
Base formatter with colorization support
Direct Known Subclasses
Instance Attribute Summary collapse
-
#command ⇒ Object
readonly
Returns the value of attribute command.
Instance Method Summary collapse
-
#initialize(command) ⇒ BaseFormatter
constructor
A new instance of BaseFormatter.
Constructor Details
#initialize(command) ⇒ BaseFormatter
Returns a new instance of BaseFormatter.
11 12 13 |
# File 'lib/gem_why/formatters/base_formatter.rb', line 11 def initialize(command) @command = command end |
Instance Attribute Details
#command ⇒ Object (readonly)
Returns the value of attribute command.
9 10 11 |
# File 'lib/gem_why/formatters/base_formatter.rb', line 9 def command @command end |