Class: Teaspoon::Formatters::PrideFormatter
- Inherits:
-
DotFormatter
- Object
- Base
- DotFormatter
- Teaspoon::Formatters::PrideFormatter
- Defined in:
- lib/teaspoon/formatters/pride_formatter.rb
Constant Summary collapse
- PI_3 =
Math::PI / 3
Constants included from ReportModule
ReportModule::CYAN, ReportModule::GREEN, ReportModule::RED, ReportModule::YELLOW
Instance Attribute Summary
Attributes inherited from Base
#errors, #failures, #passes, #pendings, #run_count, #total_count
Instance Method Summary collapse
-
#initialize(*args) ⇒ PrideFormatter
constructor
A new instance of PrideFormatter.
Methods included from ReportModule
#log_coverage, #log_error, #log_result, #log_threshold_failure
Methods inherited from Base
#complete, #console, #coverage, #error, #exception, #result, #runner, #spec, #suite, #threshold_failure
Constructor Details
#initialize(*args) ⇒ PrideFormatter
Returns a new instance of PrideFormatter.
7 8 9 10 |
# File 'lib/teaspoon/formatters/pride_formatter.rb', line 7 def initialize(*args) @color_index = 0 super end |