Class: Specdown::ColorTerminalReporter
- Inherits:
-
TerminalReporter
- Object
- TerminalReporter
- Specdown::ColorTerminalReporter
- Defined in:
- lib/specdown/reporters/color_terminal_reporter.rb
Instance Method Summary collapse
Methods inherited from TerminalReporter
#print_end, #print_failure, #print_runner_end, #print_runner_start, #print_runner_summary, #print_start, #print_success, #print_summary, #print_test_end, #print_test_start
Methods included from Reporter
#print_end, #print_failure, #print_runner_end, #print_runner_start, #print_runner_summary, #print_start, #print_success, #print_summary, #print_test_end, #print_test_start, #summary
Instance Method Details
#failure ⇒ Object
7 8 9 |
# File 'lib/specdown/reporters/color_terminal_reporter.rb', line 7 def failure Term::ANSIColor.red(Term::ANSIColor.bold super) end |
#success ⇒ Object
3 4 5 |
# File 'lib/specdown/reporters/color_terminal_reporter.rb', line 3 def success Term::ANSIColor.green super end |