Class: Minitest::Subjective::Formatter
- Inherits:
-
Object
- Object
- Minitest::Subjective::Formatter
- Defined in:
- lib/minitest/subjective/formatter.rb,
lib/minitest/subjective/formatter/colors.rb
Overview
:nodoc:
Defined Under Namespace
Classes: Colors
Instance Attribute Summary collapse
-
#colors ⇒ Object
readonly
Returns the value of attribute colors.
Instance Method Summary collapse
-
#initialize(result) ⇒ Formatter
constructor
A new instance of Formatter.
- #render ⇒ Object
Constructor Details
Instance Attribute Details
#colors ⇒ Object (readonly)
Returns the value of attribute colors.
8 9 10 |
# File 'lib/minitest/subjective/formatter.rb', line 8 def colors @colors end |
Instance Method Details
#render ⇒ Object
15 16 17 |
# File 'lib/minitest/subjective/formatter.rb', line 15 def render formatted_lines.join("\n") end |