Class: Teaspoon::Formatter::Pride

Inherits:
Dot
  • Object
show all
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

Base::RESERVED_PARAMS

Instance Attribute Summary

Attributes inherited from Base

#errors, #failures, #passes, #pendings, #run_count, #total_count

Instance Method Summary collapse

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