Class: Teaspoon::Formatter::Pride
- Defined in:
- lib/teaspoon/formatter/pride.rb
Constant Summary collapse
- PI_3 =
Math::PI / 3
Constants included from ReportModule
ReportModule::CYAN, ReportModule::GREEN, ReportModule::RED, ReportModule::YELLOW
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
#errors, #failures, #passes, #pendings, #run_count, #total_count
Instance Method Summary collapse
-
#initialize(*args) ⇒ Pride
constructor
A new instance of Pride.
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) ⇒ Pride
Returns a new instance of Pride.
8 9 10 11 |
# File 'lib/teaspoon/formatter/pride.rb', line 8 def initialize(*args) @color_index = 0 super end |