Class: Riot::DotMatrixReporter
Instance Attribute Summary
Attributes inherited from Reporter
#errors, #failures, #passes
Instance Method Summary
collapse
Methods inherited from IOReporter
#initialize, #results, #say
Methods inherited from Reporter
#describe_context, #initialize, #report, #summarize
Instance Method Details
#error(description, e) ⇒ Object
64
|
# File 'lib/riot/reporter.rb', line 64
def error(description, e); @writer.write "E".red; end
|
#fail(description, message) ⇒ Object
63
|
# File 'lib/riot/reporter.rb', line 63
def fail(description, message); @writer.write "F".yellow; end
|
#pass(description) ⇒ Object
62
|
# File 'lib/riot/reporter.rb', line 62
def pass(description); @writer.write ".".green; end
|