Class: Riot::VerboseStoryReporter

Inherits:
StoryReporter show all
Defined in:
lib/riot/reporter.rb

Instance Attribute Summary

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, #print, #puts, #results

Methods inherited from Reporter

#describe_context, #initialize, #new, #report, #success?, #summarize

Constructor Details

This class inherits a constructor from Riot::IOReporter

Instance Method Details

#error(description, e) ⇒ Object



84
85
86
87
# File 'lib/riot/reporter.rb', line 84

def error(description, e)
  super
  puts red(format_error(e))
end