Class: Riot::VerboseStoryReporter
- Inherits:
-
StoryReporter
- Object
- Reporter
- IOReporter
- StoryReporter
- Riot::VerboseStoryReporter
- Defined in:
- lib/riot/reporter.rb
Instance Attribute Summary
Attributes inherited from IOReporter
Attributes inherited from Reporter
#current_context, #errors, #failures, #passes
Instance Method Summary collapse
Methods inherited from StoryReporter
#describe_context, #fail, #pass
Methods inherited from IOReporter
#format_error, #initialize, #results, #say
Methods inherited from Reporter
#describe_context, #initialize, #new, #report, #summarize
Constructor Details
This class inherits a constructor from Riot::IOReporter
Instance Method Details
#error(description, e) ⇒ Object
82 83 84 85 |
# File 'lib/riot/reporter.rb', line 82 def error(description, e) super(description, e) say red(format_error(e)) end |