Class: HintFormatter
- Inherits:
-
RSpec::Core::Formatters::DocumentationFormatter
- Object
- RSpec::Core::Formatters::DocumentationFormatter
- HintFormatter
- Defined in:
- lib/grade_runner/formatters/hint_formatter.rb
Instance Method Summary collapse
Instance Method Details
#example_failed(failure) ⇒ Object
6 7 8 9 |
# File 'lib/grade_runner/formatters/hint_formatter.rb', line 6 def example_failed(failure) super @output.puts "\n\nHint: #{failure.example.[:hint][0]}" if failure.example.[:hint].present? end |