Class: Riot::VerboseReporter
- Inherits:
-
StoryReporter
- Object
- Reporter
- IOReporter
- StoryReporter
- Riot::VerboseReporter
- Defined in:
- lib/riot/reporter.rb
Instance Attribute Summary
Attributes inherited from Reporter
Instance Method Summary collapse
Methods inherited from StoryReporter
#describe_context, #fail, #pass
Methods inherited from IOReporter
Methods inherited from Reporter
#describe_context, #initialize, #report, #summarize
Constructor Details
This class inherits a constructor from Riot::IOReporter
Instance Method Details
#error(description, e) ⇒ Object
54 55 56 57 58 |
# File 'lib/riot/reporter.rb', line 54 def error(description, e) super(description, e) say " #{e.class.name} occured".red e.backtrace.each { |line| say " at #{line}".red } end |